[LLVMbugs] [Bug 22215] New: Mips64el crash when using __uint128_t
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Jan 13 09:33:35 PST 2015
http://llvm.org/bugs/show_bug.cgi?id=22215
Bug ID: 22215
Summary: Mips64el crash when using __uint128_t
Product: new-bugs
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: james410 at cowgill.org.uk
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Found while attempting to compile libdispatch on mips64el.
https://tracker.debian.org/pkg/libdispatch
http://mipsdebian.imgtec.com/debian/logs/libd/libdispatch/libdispatch_0~svn197-3.3_mips64el-20150113-1543.build.gz
Compiling this testcase (generated by creduce):
__uint128_t a;
b;
fn1() { a *= b; }
With clang like this:
clang-3.6 -target mips64el-unknown-linux-gnuabi64 test.c
Gives this error:
fatal error: error in backend: Cannot select: 0x277a470: i64,i64 = umul_lohi
0x27772e0, 0x277a140 [ORD=6] [ID=17]
0x27772e0: i64,ch = load 0x275b200, 0x277acf0, 0x27773f0<LD8[@a](align=16)>
[ORD=5] [ID=13]
0x277acf0: i64,ch = load 0x275b200, 0x2777b60, 0x27773f0<LD8[GOT]> [ORD=5]
[ID=11]
0x2777b60: i64 = MipsISD::Wrapper 0x2777940, 0x277a250 [ORD=5] [ID=9]
0x2777940: i64 = Register %vreg0 [ID=7]
0x277a250: i64 = TargetGlobalAddress<i128* @a> 0 [TF=16] [ORD=5] [ID=6]
0x27773f0: i64 = undef [ID=1]
0x27773f0: i64 = undef [ID=1]
0x277a140: i64,ch = load 0x275b200, 0x277b340, 0x27773f0<LD4[@b], sext from
i32> [ORD=4] [ID=15]
0x277b340: i64,ch = load 0x275b200, 0x277b230, 0x27773f0<LD8[GOT]> [ORD=3]
[ID=12]
0x277b230: i64 = MipsISD::Wrapper 0x2777940, 0x2777720 [ORD=3] [ID=10]
0x2777940: i64 = Register %vreg0 [ID=7]
0x2777720: i64 = TargetGlobalAddress<i32* @b> 0 [TF=16] [ORD=3] [ID=8]
0x27773f0: i64 = undef [ID=1]
0x27773f0: i64 = undef [ID=1]
In function: fn1
clang: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
Debian clang version 3.6.0-svn224810-1 (trunk) (based on LLVM 3.6.0)
--
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/20150113/fe52fe24/attachment.html>
More information about the llvm-bugs
mailing list