[PATCH] D126774: [InstCombine] Use +0.0 instead of -0.0 as the FP identity for some folds
David Sherwood via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 7 03:53:38 PDT 2022
david-arm updated this revision to Diff 434763.
david-arm added a comment.
- Added more pattern matches for MVE targets so we detect splats of +0.0 as well as -0.0.
- Added new ConstantFP::getZero interface.
- Added more flags to the tests for more coverage.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126774/new/
https://reviews.llvm.org/D126774
Files:
llvm/include/llvm/IR/Constants.h
llvm/lib/IR/Constants.cpp
llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
llvm/test/CodeGen/Thumb2/mve-pred-selectop3.ll
llvm/test/Transforms/InstCombine/select-binop-foldable-floating-point.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126774.434763.patch
Type: text/x-patch
Size: 11482 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220607/6235ad2a/attachment.bin>
More information about the llvm-commits
mailing list