[PATCH] D77201: [CodeGen][SelectionDAG] Flip Booleans More Often
Pierre van Houtryve via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 6 04:17:56 PDT 2020
Pierre-vh updated this revision to Diff 255283.
Pierre-vh added a comment.
- Moved the `Const->getAPIntValue().sextOrTrunc(VT.getScalarSizeInBits())` expression out of the switch, storing it in `ConstValue`
- Changed the `ZeroOrOneBooleanContent` case to use `ConstValue` as well
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77201/new/
https://reviews.llvm.org/D77201
Files:
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/Thumb2/mve-pred-or.ll
llvm/test/CodeGen/Thumb2/mve-vcmpf.ll
llvm/test/CodeGen/Thumb2/mve-vcmpfr.ll
llvm/test/CodeGen/Thumb2/mve-vcmpfz.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77201.255283.patch
Type: text/x-patch
Size: 27988 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200406/bbeee09a/attachment.bin>
More information about the llvm-commits
mailing list