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

            Bug ID: 30276
           Summary: PowerPC64: Code hits "Impossible reg-to-reg copy"
                    assertion
           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

The following test case:

int a, b;
int fn2(int);
void fn1(void) { b = fn2(1 ^ ((a != 1) | (0 != b))) <= 0; }

Hits an assertion:

# clang -O0 -c testcase.c

Impossible reg-to-reg copy
UNREACHABLE executed at
/home/anton/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp:943!

-- 
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