[llvm-bugs] [Bug 43189] New: [X86] X86FlagsCopyLowering - Unlowered EFLAGS copy!

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Sep 1 06:56:19 PDT 2019


            Bug ID: 43189
           Summary: [X86] X86FlagsCopyLowering - Unlowered EFLAGS copy!
           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,
                    llvm-dev at redking.me.uk, spatel+llvm at rotateright.com

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

define void @ossfuzz16605() {
  %C33 = fcmp true float 0x36A0000000000000, 0x36A0000000000000
  %B43 = or i1 %C33, true
  br i1 %B43, label %bb2, label %bb8

bb8:                                              ; preds = %bb8, %bb7
  %C19 = icmp sgt i128 undef, 18446744073709551616
  %G21 = getelementptr i128, i128* null, i1 %C19
  store i128* %G21, i128** undef
  br i1 %C19, label %bb8, label %bb2

bb2:                                              ; preds = %bb8

llc -mtriple=x86_64-- 

Unlowered EFLAGS copy!
UNREACHABLE executed at
Stack dump:
0.      Program arguments: C:\LLVM\build\Debug\bin\llc.exe -mtriple=x86_64--
-mcpu=btver2 -o bar.s fuzz.ll
1.      Running pass 'Function Pass Manager' on module 'fuzz.ll'.
2.      Running pass 'X86 EFLAGS copy lowering' on function '@ossfuzz16605'

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/20190901/cdc6ca63/attachment.html>

More information about the llvm-bugs mailing list