[LLVMbugs] [Bug 22103] New: calling bit-casted thread local address asserts: isReg() && "This is not a register operand!"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jan 5 22:38:25 PST 2015


http://llvm.org/bugs/show_bug.cgi?id=22103

            Bug ID: 22103
           Summary: calling bit-casted thread local address asserts:
                    isReg() && "This is not a register operand!"
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: david.majnemer at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

run llc -filetype=obj with:
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@a = external thread_local global i64

; Function Attrs: nounwind
define void @_Z1fv() {
entry:
  call void bitcast (i64* @a to void ()*)()
  ret void
}

-- 
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/20150106/5a0477fa/attachment.html>


More information about the llvm-bugs mailing list