[LLVMbugs] [Bug 16555] New: PPC: LLVM ERROR: Cannot select: ... = PPCISD::ADD_TLS

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Jul 7 09:09:03 PDT 2013


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

            Bug ID: 16555
           Summary: PPC: LLVM ERROR: Cannot select: ... = PPCISD::ADD_TLS
           Product: libraries
           Version: trunk
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: PowerPC
          Assignee: unassignedbugs at nondot.org
          Reporter: kai at redstar.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 10821
  --> http://llvm.org/bugs/attachment.cgi?id=10821&action=edit
IR file demonstrating the problem.

Compiling the attached tlsbug.ll file on Linux/PPC results in the error
message:

LLVM ERROR: Cannot select: 0x105a0ee8: i32 = PPCISD::ADD_TLS 0x105a0e58,
0x105a0ca8 [ORD=1] [ID=7]
  0x105a0e58: i32 = PPCISD::LD_GOT_TPREL_L 0x105a0af8, 0x105a0dc8 [ORD=1]
[ID=6]
    0x105a0af8: i32 = TargetGlobalTLSAddress<%rt.lifetime.BlkInfo.0.84**
@_D2rt8lifetime18__blkcache_storagePS2rt8lifetime7BlkInfo> 0 [ORD=1] [ID=2]
    0x105a0dc8: i32 = PPCISD::ADDIS_GOT_TPREL_HA 0x105a0d38, 0x105a0af8 [ORD=1]
[ID=5]
      0x105a0d38: i64 = Register %X2 [ID=4]
      0x105a0af8: i32 = TargetGlobalTLSAddress<%rt.lifetime.BlkInfo.0.84**
@_D2rt8lifetime18__blkcache_storagePS2rt8lifetime7BlkInfo> 0 [ORD=1] [ID=2]
  0x105a0ca8: i32 = TargetGlobalTLSAddress<%rt.lifetime.BlkInfo.0.84**
@_D2rt8lifetime18__blkcache_storagePS2rt8lifetime7BlkInfo> 0 [TF=128] [ORD=1]
[ID=3]
In function: _D2rt5tlsgc4initFZPS2rt5tlsgc4Data

This is a reduced test case produced by the LDC D compiler.

-- 
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/20130707/5b12b447/attachment.html>


More information about the llvm-bugs mailing list