[llvm-bugs] [Bug 51329] New: Assertion `getMinSignedBits() <= 64 && "Too many bits for int64_t"' failed in Loop Strength Reduction with new SCEV-based salvaging

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Aug 3 10:01:56 PDT 2021


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

            Bug ID: 51329
           Summary: Assertion `getMinSignedBits() <= 64 && "Too many bits
                    for int64_t"' failed in Loop Strength Reduction with
                    new SCEV-based salvaging
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: JCTremoulet at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

Created attachment 25103
  --> https://bugs.llvm.org/attachment.cgi?id=25103&action=edit
Small function that triggers the assertion failure in LSR

This assertion has been failing in some of our downstream tests each time
D105207 gets checked in.  I've verified that it fails at 0ba8595287e but not at
its parent.  It also currently repros on godbolt with "assertions trunk":
https://godbolt.org/z/n6T3zrsvY

Reproducer testcase attached.

-- 
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/20210803/8186ba2b/attachment.html>


More information about the llvm-bugs mailing list