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: unassignedb...@nondot.org
          Reporter: an...@samba.org
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to