[llvm-bugs] [Bug 30276] New: PowerPC64: Code hits "Impossible reg-to-reg copy" assertion

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Sep 4 18:47:06 PDT 2016


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: unassignedbugs at nondot.org
          Reporter: anton at samba.org
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160905/1ef5190b/attachment.html>


More information about the llvm-bugs mailing list