[PATCH] D77202: [Target][ARM] Fold or(A, B) more aggressively for I1 Vectors

Pierre van Houtryve via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 27 02:38:33 PDT 2020


Pierre-vh updated this revision to Diff 260252.
Pierre-vh added a comment.

Updated the patch: now the transformation only happens if one of the operands is a condition that can be immediately inverted.
It isn't as good as the other version (in terms of improvements) but it's safer (there is less risk of generating terrible code in some situations)


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

https://reviews.llvm.org/D77202

Files:
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/test/CodeGen/Thumb2/LowOverheadLoops/cond-vector-reduce-mve-codegen.ll
  llvm/test/CodeGen/Thumb2/mve-pred-or.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77202.260252.patch
Type: text/x-patch
Size: 9019 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200427/8dc906ed/attachment-0001.bin>


More information about the llvm-commits mailing list