[PATCH] D138203: [AArch64][InstCombine] Simplify repeated complex patterns in dupqlane

Matt Devereau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 9 08:41:26 PST 2023


MattDevereau updated this revision to Diff 487458.
MattDevereau added a comment.

Added a condition `if (!isa<PoisonValue>(CurrentInsertElt) || !isa<PoisonValue>(Default) ||` to check all lanes of the subvector being inserted are defined, and the first inserted element is inserted into poison


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D138203

Files:
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  llvm/test/CodeGen/AArch64/sve-intrinsics-perm-select.ll
  llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-dupqlane.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138203.487458.patch
Type: text/x-patch
Size: 32665 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230109/bb63c5d9/attachment.bin>


More information about the llvm-commits mailing list