[PATCH] D53236: [SelectionDAG] swap select_cc operands to enable folding
Alexandros Lamprineas via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 29 05:32:25 PDT 2018
labrinea updated this revision to Diff 171488.
labrinea added a comment.
I've autogenerated the filecheck lines to show the diff compared to the trunk codegen. For making sure we never fall-through to the next block, having changed the CC but not swapped (N2, N3), I've moved all the preconditions to the beginning of the block (instead of moving the block into a helper function).
https://reviews.llvm.org/D53236
Files:
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/AArch64/select_cc.ll
test/CodeGen/Thumb/branchless-cmp.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53236.171488.patch
Type: text/x-patch
Size: 5525 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181029/5093406a/attachment.bin>
More information about the llvm-commits
mailing list