[llvm-bugs] [Bug 30511] New: error in backend: Cannot select v4i32 = fadd
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Sep 24 01:47:53 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=30511
Bug ID: 30511
Summary: error in backend: Cannot select v4i32 = fadd
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: ed0.88.prez at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
While attempting to compile zdoom ( github.com/rheit/zdoom ), I got an internal
backend error like this:
fatal error: error in backend: Cannot select: 0x37ccb70: v4i32 = fadd
0x37ea5b0,
0x37e17c0
0x37ea5b0: v4i32 = bitcast 0x37fc2b0
0x37fc2b0: v2f64 = fmul 0x3800440, 0x37a0ba0
0x3800440: v2f64 = X86ISD::UNPCKL 0x37d1d10, 0x37cab60
0x37d1d10: v2f64 = scalar_to_vector 0x37bcbf0
0x37bcbf0: f64,ch =
load<LD8[%19](tbaa=<0x2e74bf8>)(noalias=<0x3533b78>)> 0x35f8000, 0x37c0160,
undef:i64
0x37c0160: i64 = add 0x37d9330, Constant:i64<136>
0x37d9330: i64,ch = CopyFromReg 0x35f8000, Register:i64 %vreg28
0x37a2bc0: i64 = Register %vreg28
0x37b3250: i64 = Constant<136>
0x3858440: i64 = undef
0x37cab60: v2f64 = scalar_to_vector 0x37a5010
0x37a5010: f64,ch =
load<LD8[%21](tbaa=<0x2e74bf8>)(noalias=<0x2f8a7b8>)> 0x35f8000, 0x3806cd0,
undef:i64
0x3806cd0: i64 = add 0x37d9330, Constant:i64<152>
0x37d9330: i64,ch = CopyFromReg 0x35f8000, Register:i64 %vreg28
0x37a2bc0: i64 = Register %vreg28
0x37afcc0: i64 = Constant<152>
0x3858440: i64 = undef
0x37a0ba0: v2f64,ch = load<LD16[ConstantPool]> 0x35f8000, 0x3858590,
undef:i64
0x3858590: i64 = X86ISD::Wrapper TargetConstantPool:i64<<2 x double>
<double 0x4166C16C16C16C17, double 0x4166C16C16C16C17>> 0
0x37ed340: i64 = TargetConstantPool<<2 x double> <double
0x4166C16C16C16C17, double 0x4166C16C16C16C17>> 0
0x3858440: i64 = undef
0x37e17c0: v4i32 = bitcast 0x37e9f20
0x37e9f20: v2f64,ch = load<LD16[ConstantPool]> 0x35f8000, 0x37e1280,
undef:i64
0x37e1280: i64 = X86ISD::Wrapper TargetConstantPool:i64<<2 x double>
<double 0x4338000000000000, double 0x4338000000000000>> 0
0x37d9170: i64 = TargetConstantPool<<2 x double> <double
0x4338000000000000, double 0x4338000000000000>> 0
0x3858440: i64 = undef
In function: _ZNK6AActor21IsInsideVisibleAnglesEv
clang: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 4.0.0-svn282316-1~exp1 (trunk)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
clang: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/p_mobj-0df7d3.cpp
clang: note: diagnostic msg: /tmp/p_mobj-0df7d3.sh
clang: note: diagnostic msg:
********************
src/CMakeFiles/zdoom.dir/build.make:4456: recipe for target
'src/CMakeFiles/zdoom.dir/p_mobj.cpp.o' failed
make[2]: *** [src/CMakeFiles/zdoom.dir/p_mobj.cpp.o] Error 70
CMakeFiles/Makefile2:639: recipe for target 'src/CMakeFiles/zdoom.dir/all'
failed
make[1]: *** [src/CMakeFiles/zdoom.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
I'm on Ubuntu 16.04 x64 and I'm using clang from apt.llvm.org. I attached a zip
file containing also a .ll file I generated by appending -emit-llvm .
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160924/b5828c33/attachment.html>
More information about the llvm-bugs
mailing list