[llvm-bugs] [Bug 45906] New: Cannot emit physreg copy instruction: cannot copy ZMM4 to RDI

via llvm-bugs llvm-bugs at lists.llvm.org
Wed May 13 08:55:17 PDT 2020


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: unassignedbugs at nondot.org
          Reporter: vtjnash at gmail.com
                CC: craig.topper at gmail.com, llvm-bugs at lists.llvm.org,
                    llvm-dev at redking.me.uk, spatel+llvm at rotateright.com

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200513/0b9b6422/attachment.html>


More information about the llvm-bugs mailing list