[PATCH] D106932: [AArch64][SVE][InstCombine] Move last{a,b} before binop if one operand is a splat value

Usman Nadeem via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 2 15:55:19 PDT 2021


mnadeem updated this revision to Diff 363592.
mnadeem edited the summary of this revision.
mnadeem added a comment.

- Updated the code to make sure that the binary operator's flags are copied as well.
- Added more tests to check that the math flags are also copied.
- Added tests for add and fadd.


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

https://reviews.llvm.org/D106932

Files:
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-lasta-lastb.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106932.363592.patch
Type: text/x-patch
Size: 16340 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210802/572efc3f/attachment.bin>


More information about the llvm-commits mailing list