[PATCH] D116702: [GlobalISel] Combine select + fcmp to fminnum/fmaxnum/fminimum/fmaximum

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 6 16:24:10 PST 2022


paquette updated this revision to Diff 398012.
paquette added a comment.

- Allow 0 for G_FMAXIMUM/G_FMINIMUM cases
- Remove debug code


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

https://reviews.llvm.org/D116702

Files:
  llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
  llvm/include/llvm/Target/GlobalISel/Combine.td
  llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
  llvm/lib/Target/AArch64/AArch64Combine.td
  llvm/test/CodeGen/AArch64/GlobalISel/combine-select-to-fminnum-fmaxnum.mir
  llvm/test/CodeGen/AArch64/known-never-nan.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116702.398012.patch
Type: text/x-patch
Size: 68227 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220107/be4bfd02/attachment.bin>


More information about the llvm-commits mailing list