[llvm-bugs] [Bug 30424] New: Formula is illegal assert in LoopStrengthReduced

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Sep 16 19:09:20 PDT 2016


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

            Bug ID: 30424
           Summary: Formula is illegal assert in LoopStrengthReduced
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Support Libraries
          Assignee: unassignedbugs at nondot.org
          Reporter: Matthew.Arsenault at amd.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 17291
  --> https://llvm.org/bugs/attachment.cgi?id=17291&action=edit
Bugpoint reduced testcase

This testcase hits: 

llc: ../lib/Transforms/Scalar/LoopStrengthReduce.cpp:3068: bool (anonymous
namespace)::LSRInstance::InsertFormula((anonymous namespace)::LSRUse &,
unsigned int, const (anonymous namespace)::Formula &): Assertion
`isLegalUse(TTI, LU.MinOffset, LU.MaxOffset, LU.Kind, LU.AccessTy, F) &&
"Formula is illegal"' failed.

Reproduce with llc lsr-crash-reduced.ll

-- 
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/20160917/053a2619/attachment.html>


More information about the llvm-bugs mailing list