aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJessica Paquette <jpaquette@apple.com>2020-10-14 15:19:52 -0700
committerJessica Paquette <jpaquette@apple.com>2020-10-15 16:04:08 -0700
commit609d765cd3b1a4f9558b654dbb1bc7c973f3408b (patch)
treedea2b02441569d742142364a7fcc60aea6df7592 /clang/lib/CodeGen/CodeGenModule.cpp
parentc2551c1f4058d2c3cc4964b1d1d0ca5946036f6c (diff)
downloadllvm-609d765cd3b1a4f9558b654dbb1bc7c973f3408b.zip
llvm-609d765cd3b1a4f9558b654dbb1bc7c973f3408b.tar.gz
llvm-609d765cd3b1a4f9558b654dbb1bc7c973f3408b.tar.bz2
[AArch64][GlobalISel] NFC: Refactor emitIntegerCompare
Simplify emitIntegerCompare and improve comments + asserts. Mostly making the code a little easier to follow. Also, this code is only used for G_ICMP. The legalizer ensures that the LHS/RHS for every G_ICMP is either a s32 or s64. So, there's no need to handle anything else. This lets us remove a bunch of checks for whether or not we successfully emitted the compare. Differential Revision: https://reviews.llvm.org/D89433
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions