aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorJessica Paquette <jpaquette@apple.com>2020-09-30 14:01:12 -0700
committerJessica Paquette <jpaquette@apple.com>2020-10-01 15:34:16 -0700
commit5402d11b1d8853ff10417b0f8d32edde3f4a51c0 (patch)
tree6d229f40ee44d1ea9be04a7bfeff0469d7f04e83 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent8e8664e55e8986e061283cb20c30f21fb2d2b641 (diff)
downloadllvm-5402d11b1d8853ff10417b0f8d32edde3f4a51c0.zip
llvm-5402d11b1d8853ff10417b0f8d32edde3f4a51c0.tar.gz
llvm-5402d11b1d8853ff10417b0f8d32edde3f4a51c0.tar.bz2
[GlobalISel][AArch64] Don't emit cset for G_FCMPs feeding into G_BRCONDs
Similar to the FP case in `AArch64TargetLowering::LowerBR_CC`. Instead of emitting the csets + a tbnz, just emit a compare + bcc (or two bccs, depending on the condition code) This improves cases like this: https://godbolt.org/z/v8hebx This is a 0.1% geomean code size improvement for CTMark at -O3. Differential Revision: https://reviews.llvm.org/D88624
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions