[llvm-bugs] [Bug 51614] New: opt -loop-vectorize -enable-masked-interleaved-mem-accesses=1 -enable-interleaved-mem-accesses=1 hits Assertion `!Legal->isMaskRequired(I) && "Reverse masked interleaved access not supported."' failed.

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Aug 24 23:32:09 PDT 2021


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

            Bug ID: 51614
           Summary: opt -loop-vectorize
                    -enable-masked-interleaved-mem-accesses=1
                    -enable-interleaved-mem-accesses=1 hits Assertion
                    `!Legal->isMaskRequired(I) && "Reverse masked
                    interleaved access not supported."' failed.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Loop Optimizer
          Assignee: unassignedbugs at nondot.org
          Reporter: mikael.holmen at ericsson.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 25190
  --> https://bugs.llvm.org/attachment.cgi?id=25190&action=edit
bbi-59125.ll reproducer

llvm commit: 323a6bfbb8cf8

Reproduce with:
 opt -loop-vectorize -enable-masked-interleaved-mem-accesses=1
-enable-interleaved-mem-accesses=1 -o /dev/null bbi-59125.ll

Result:
opt: ../lib/Transforms/Vectorize/LoopVectorize.cpp:7180: llvm::InstructionCost
llvm::LoopVectorizationCostModel::getInterleaveGroupCost(llvm::Instruction *,
llvm::ElementCount): Assertion `!Legal->isMaskRequired(I) && "Reverse masked
interleaved access not supported."' failed.

-- 
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/20210825/fa021726/attachment.html>


More information about the llvm-bugs mailing list