[llvm-bugs] [Bug 36270] New: [ValueTracking] Crash in computeKnownBitsFromAssume

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Feb 7 07:14:46 PST 2018


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

            Bug ID: 36270
           Summary: [ValueTracking] Crash in computeKnownBitsFromAssume
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: llvm-dev at redking.me.uk
                CC: llvm-bugs at lists.llvm.org

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

define void @bar4(i32 %b) {
entry:
  %B7 = xor i32 -1, 2147483647
  %and1 = and i32 %b, 3
  %B12 = lshr i32 %B7, %and1
  %C1 = icmp ult i32 %and1, %B12
  tail call void @llvm.assume(i1 %C1)
  %cmp2 = icmp eq i32 0, %B12
  tail call void @llvm.assume(i1 %cmp2)
  unreachable
}
declare void @llvm.assume(i1)

-- 
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/20180207/89b504f2/attachment.html>


More information about the llvm-bugs mailing list