[PATCH] D87340: [EarlyCSE] Handle masked loads and stores

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 8 17:57:17 PDT 2020


kparzysz created this revision.
kparzysz added reviewers: efriedma, jdoerfert.
Herald added subscribers: jfb, hiraditya.
Herald added a project: LLVM.
kparzysz requested review of this revision.

Extend the handling of memory intrinsics to also include non-target-specific intrinsics, in particular masked loads and stores.

Invent `isHandledNonTargetIntrinsic` to distinguish between intrinsics that should be handled natively from intrinsics that can be passed to TTI.

Add code that handles masked loads and stores and update the testcase to reflect the results.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D87340

Files:
  llvm/lib/Transforms/Scalar/EarlyCSE.cpp
  llvm/test/Transforms/EarlyCSE/masked-intrinsics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87340.290622.patch
Type: text/x-patch
Size: 14986 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200909/e545dc75/attachment.bin>


More information about the llvm-commits mailing list