[PATCH] D124655: [IR][CostModel] A scalable vector shuffle can't be an identity, select, or reverse shuffle.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 29 09:55:05 PDT 2022


craig.topper updated this revision to Diff 426105.
craig.topper added a comment.
Herald added a subscriber: hiraditya.

Modify how reverse is blocked. Do it based on the number of elements in the mask.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124655/new/

https://reviews.llvm.org/D124655

Files:
  llvm/include/llvm/IR/Instructions.h
  llvm/lib/IR/Instructions.cpp
  llvm/test/Analysis/CostModel/RISCV/rvv-shuffle.ll
  llvm/test/Analysis/CostModel/RISCV/shuffle-broadcast.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124655.426105.patch
Type: text/x-patch
Size: 12681 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220429/d031f255/attachment.bin>


More information about the llvm-commits mailing list