[PATCH] D154228: [GVN] Use vector ops when doing loadCoercion on a vector value

Manuel Brito via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 30 08:58:45 PDT 2023


ManuelJBrito created this revision.
ManuelJBrito added reviewers: fhahn, nikic, foad.
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.

Currently bitmasking is used for loadCoercion of vector values, this is troublesome because these operations propagate poison.
This patch uses a combination of vector operations instead.
Fixes PR63059.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D154228

Files:
  llvm/lib/Transforms/Utils/VNCoercion.cpp
  llvm/test/Transforms/GVN/pr63059.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154228.536280.patch
Type: text/x-patch
Size: 15597 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230630/7047b80b/attachment.bin>


More information about the llvm-commits mailing list