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

            Bug ID: 45906
           Summary: Cannot emit physreg copy instruction: cannot copy ZMM4
                    to RDI
           Product: libraries
           Version: 9.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]

Created attachment 23480
  --> https://bugs.llvm.org/attachment.cgi?id=23480&action=edit
input function

>From analysis of https://github.com/JuliaLang/julia/issues/35393, caused by
some slightly confused combination of TargetMachine and optimization level
options.

We saw that the attached ll file generates the attached mir file, which fails
inside llvm::X86InstrInfo::copyPhysReg. Seems it should be dead code as I don't
see a use of the value, but due to incomplete coverage of register sizes it's
causing a crash on:

  renamable $rdi = COPY killed renamable $zmm4

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to