[llvm-bugs] [Bug 24636] New: PowerPC setcc pattern missing

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Aug 31 05:53:43 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=24636

            Bug ID: 24636
           Summary: PowerPC setcc pattern missing
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: PowerPC
          Assignee: unassignedbugs at nondot.org
          Reporter: anton at samba.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 14798
  --> https://llvm.org/bugs/attachment.cgi?id=14798&action=edit
Testcase

csmith hit what looks like another setcc missing pattern:

# llc bugpoint-reduced-simplified.ll
LLVM ERROR: Cannot select: 0x100061d2a48: i32 = setcc 0x100061ce9a0,
0x100061ce878, 0x100061ceac8 [ORD=2] [ID=15]
  0x100061ce9a0: i64,ch = PPCISD::TOC_ENTRY 0x100061cebf0,
0x100061cef68<LD8[GOT]> [ORD=2] [ID=14]
    0x100061cebf0: i64 = TargetGlobalAddress<i32* @c> 0 [ORD=2] [ID=11]
    0x100061cef68: i64 = Register %X2 [ID=10]
  0x100061ce878: i64,ch = PPCISD::TOC_ENTRY 0x100061d27f8,
0x100061cef68<LD8[GOT]> [ORD=2] [ID=13]
    0x100061d27f8: i64 = TargetGlobalAddress<[1 x i32]* @b> 0 [ORD=2] [ID=9]
    0x100061cef68: i64 = Register %X2 [ID=10]
In function: fn2

-- 
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/20150831/87770ee2/attachment.html>


More information about the llvm-bugs mailing list