[llvm-bugs] [Bug 38545] New: Cannot emit physreg copy instruction

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Aug 13 08:15:59 PDT 2018


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

            Bug ID: 38545
           Summary: Cannot emit physreg copy instruction
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: llvm-dev at redking.me.uk
                CC: craig.topper at gmail.com, llvm-bugs at lists.llvm.org

define void @f() {
BB:
  br label %BB5

BB5:
  br i1 undef, label %BB5, label %BB1

BB1:
  %A31 = alloca swifterror i32
  %L7 = load i32, i32* %A31
  %B30 = add i32 %L7, 2147483647
  store i32 %B30, i32* %A31
  br label %BB1
}

llc -mtriple=x86_64-unknown

Cannot emit physreg copy instruction
UNREACHABLE executed at
/home/simon/LLVM/llvm/lib/Target/X86/X86InstrInfo.cpp:3112!

Reduced from https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4805

-- 
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/20180813/7b839d26/attachment-0001.html>


More information about the llvm-bugs mailing list