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

            Bug ID: 23979
           Summary: Cannot copy AL to XMMO
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

llc with FastISel (-O0) fails to compile the IR for X86 target. Assert fails
with comment: "Cannot copy AL to XMM0. Cannot emit physreg copy instruction."

Test code:

target triple = "x86_64-unknown-linux-gnu"

define <8 x i1> @test() {
  %C = icmp ult <8 x i16> zeroinitializer, zeroinitializer
  br label %B

B:
  %I = insertelement <8 x i1> %C, i1 undef, i32 0
  ret <8 x i1> %I
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to