[PATCH] D149544: [InstSimplify] Update to handle new shufflevector semantics

Manuel Brito via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 30 05:30:54 PDT 2023


ManuelJBrito created this revision.
ManuelJBrito added reviewers: nlopes, nikic, RKSimon.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
ManuelJBrito requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

After D148637 <https://reviews.llvm.org/D148637> a shufflevector with an undefined mask yields poison. This patch updates InstSimplify to use the new semantics.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D149544

Files:
  llvm/lib/Analysis/InstructionSimplify.cpp
  llvm/test/Transforms/InstSimplify/shufflevector-inseltpoison.ll
  llvm/test/Transforms/InstSimplify/shufflevector.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149544.518297.patch
Type: text/x-patch
Size: 4654 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230430/42d899ba/attachment.bin>


More information about the llvm-commits mailing list