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: unassignedb...@nondot.org
          Reporter: matthew.arsena...@amd.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to