https://llvm.org/bugs/show_bug.cgi?id=26906
Bug ID: 26906 Summary: -mcmodel=large, Cannot select: t10: i64 = X86ISD::WrapperRIP TargetGlobalTLSAddress:i64 Product: libraries Version: trunk Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: Backend: X86 Assignee: unassignedb...@nondot.org Reporter: eugeni.stepa...@gmail.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified With -mcmodel=large, the following code can not be compiled: $ cat 1.c extern __thread int x; int f(void) { return x; } $ ./bin/clang 1.c -mcmodel=large -c fatal error: error in backend: Cannot select: t10: i64 = X86ISD::WrapperRIP TargetGlobalTLSAddress:i64<i32* @x> 0 [TF=10] t9: i64 = TargetGlobalTLSAddress<i32* @x> 0 [TF=10] In function: f clang-3.9: error: clang frontend command failed with exit code 70 (use -v to see invocation) -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs