diff options
author | Jessica Paquette <jpaquette@apple.com> | 2019-07-08 22:58:36 +0000 |
---|---|---|
committer | Jessica Paquette <jpaquette@apple.com> | 2019-07-08 22:58:36 +0000 |
commit | 55d19247ef2c3640f78b9cd91ba30db1aa83f120 (patch) | |
tree | 0489181c1e6f1ea7dd0e6e5e1c0148dc57d23e52 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | ba06f15ac89a9982a91223dbb9fbc52770a991f0 (diff) | |
download | llvm-55d19247ef2c3640f78b9cd91ba30db1aa83f120.zip llvm-55d19247ef2c3640f78b9cd91ba30db1aa83f120.tar.gz llvm-55d19247ef2c3640f78b9cd91ba30db1aa83f120.tar.bz2 |
[AArch64][GlobalISel] Use TST for comparisons when possible
Porting over the part of `emitComparison` in AArch64ISelLowering where we use
TST to represent a compare.
- Rename `tryOptCMN` to `tryFoldIntegerCompare`, since it now also emits TSTs
when possible.
- Add a utility function for emitting a TST with register operands.
- Rename opt-fold-cmn.mir to opt-fold-compare.mir, since it now also tests the
TST fold as well.
Differential Revision: https://reviews.llvm.org/D64371
llvm-svn: 365404
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions