aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorJessica Paquette <jpaquette@apple.com>2020-10-01 13:46:15 -0700
committerJessica Paquette <jpaquette@apple.com>2020-10-01 15:33:34 -0700
commit8e8664e55e8986e061283cb20c30f21fb2d2b641 (patch)
tree5765d7809671982afbab588de525d5a6c2d27174 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent017b871502b0c6fe72f52c5b47780f77e38d9035 (diff)
downloadllvm-8e8664e55e8986e061283cb20c30f21fb2d2b641.zip
llvm-8e8664e55e8986e061283cb20c30f21fb2d2b641.tar.gz
llvm-8e8664e55e8986e061283cb20c30f21fb2d2b641.tar.bz2
[AArch64][GlobalISel] Use emitTestBit in selection for G_BRCOND
Partially refactoring, partially fixing a bug. - We shouldn't use TB(N)ZX unless the bit number is >= 32 - We can fold more than xor using emitTestBit Also remove a check which isn't relevant anymore + update tests. Rename select-brcond-of-not.mir to select-brcond-of-binop.mir, since it now tests more than just G_XOR. Differential Revision: https://reviews.llvm.org/D88702
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions