aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2023-08-31 13:13:52 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2023-08-31 13:14:01 +0100
commit239ab16ec1213749a2228368298519b377d336bb (patch)
tree6802fa05a60242490407d257ac41ff3a0b6ecf53 /clang/lib/CodeGen/CodeGenModule.h
parente8af24736ada1ecc2495ada73225370be8a551a5 (diff)
downloadllvm-239ab16ec1213749a2228368298519b377d336bb.zip
llvm-239ab16ec1213749a2228368298519b377d336bb.tar.gz
llvm-239ab16ec1213749a2228368298519b377d336bb.tar.bz2
[X86] combineCMP - attempt to simplify KSHIFTR mask element extractions when just comparing against zero
We can just bitcast the pre-shifted mask as an integer and use TEST/BT directly. This can be extended further to better handle sub-i8 mask cases, but just getting rid of KSHIFTR nodes makes a notable difference.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions