[PATCH] D130564: [AArch64][SVE] Add patterns to select masked FP arith

Cullen Rhodes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 3 01:38:47 PDT 2022


c-rhodes updated this revision to Diff 449584.
c-rhodes edited the summary of this revision.
c-rhodes set the repository for this revision to rG LLVM Github Monorepo.
c-rhodes added a comment.

- `fmul(a, select(mask, b, splat(0)))` transform isn’t correct, remove it.
- `contract` fast-math flag only required on the fadd/fsub op.
- `fadd(a, select(mask, b, splat(0))`’transform is unsafe unless `nsz` fast-math flag is specified.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130564

Files:
  llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
  llvm/test/CodeGen/AArch64/sve-fp-combine.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130564.449584.patch
Type: text/x-patch
Size: 12873 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220803/15b5ec05/attachment.bin>


More information about the llvm-commits mailing list