[PATCH] D106376: [SVE] Add support for folding for select + masked loads
David Sherwood via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 21 03:36:10 PDT 2021
david-arm accepted this revision.
david-arm added a comment.
This revision is now accepted and ready to land.
LGTM!
================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp:3225
+ m_CombineOr(m_Undef(), m_Zero())))) {
+ auto MaskedLoad = cast<IntrinsicInst>(TrueVal);
+ if (isa<UndefValue>(MaskedLoad->getArgOperand(3)))
----------------
nit: Don't know how much people really care, but maybe worth fixing these lint warnings before merging?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106376/new/
https://reviews.llvm.org/D106376
More information about the llvm-commits
mailing list