[PATCH] D63163: [GlobalISel][AArch64] Fold G_SUB into G_ICMP when it's safe to do so
Jessica Paquette via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 14 14:26:31 PDT 2019
paquette updated this revision to Diff 204849.
paquette added a comment.
- `tryFoldCMN` -> `tryOptCMN`
- Make `tryOptCMN` single-exit
- Make `tryOptCMN` not leave the G_ICMP in a half-selected state; now it selects the CMN entirely.
- Factor out cset emission into `emitCSet`.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63163/new/
https://reviews.llvm.org/D63163
Files:
llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
llvm/test/CodeGen/AArch64/GlobalISel/opt-fold-cmn.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63163.204849.patch
Type: text/x-patch
Size: 17370 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190614/025ae57a/attachment.bin>
More information about the llvm-commits
mailing list