https://llvm.org/bugs/show_bug.cgi?id=24125

            Bug ID: 24125
           Summary: ICE when calling intrinsic _mm_cvtps_ph causes
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 14588
  --> https://llvm.org/bugs/attachment.cgi?id=14588&action=edit
Preprocessed source

I ran across this compiler crash bug while testing vector intrinsics.

$ cat t.c
#include <x86intrin.h>

__m128i foo( __m128i v128) {
  return _mm_cvtps_ph(v128, 1);

}

$ clang t.c -c
fatal error: error in backend: Cannot select: intrinsic %llvm.x86.vcvtps2ph.128
clang-3.7: error: clang frontend command failed with exit code 70 (use -v to
see
invocation)
clang version 3.7.0 (http://llvm.org/git/clang.git
d574782178c0e6c859c583debb4d7
2580c980dab) (http://llvm.org/git/llvm.git
6e50c921d037b032e22999ab0694ba4676d4b
812)
Target: x86_64-unknown-linux-gnu
Thread model: posix
clang-3.7: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/b
ugs/ and include the crash backtrace, preprocessed source, and associated run
sc
ript.
clang-3.7: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3.7: note: diagnostic msg: /tmp/t-e7c696.c
clang-3.7: note: diagnostic msg: /tmp/t-e7c696.sh
clang-3.7: note: diagnostic msg:

********************

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to