diff options
author | Craig Topper <craig.topper@gmail.com> | 2020-10-16 15:42:49 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2020-10-16 19:47:56 -0700 |
commit | 278bd068918b7df1fe3a2a31a15122f2a708d883 (patch) | |
tree | a26de68810a1a0c72c198b7ac2584adb3b848076 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | dc9713812355220058e7089dd5c882b76351a6d5 (diff) | |
download | llvm-278bd068918b7df1fe3a2a31a15122f2a708d883.zip llvm-278bd068918b7df1fe3a2a31a15122f2a708d883.tar.gz llvm-278bd068918b7df1fe3a2a31a15122f2a708d883.tar.bz2 |
[TargetLowering] Extract simplifySetCCs ctpop into a separate function. NFCI
As requested in D89346. This allows us to add some early outs.
I reordered some checks a little bit to make the more common bail outs happen earlier. Like checking opcode before checking hasOneUse. And I moved the bit width check to make sure it was safe to look through a truncate to the spot where we look through truncates instead of after.
Reviewed By: spatel
Differential Revision: https://reviews.llvm.org/D89494
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions