aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <RKSimon@users.noreply.github.com>2024-03-01 14:29:12 +0000
committerGitHub <noreply@github.com>2024-03-01 14:29:12 +0000
commit765a5d62bc59971d267a9effee2bfc0cee036182 (patch)
tree796037cbfd487303e6ad7b825dde82bb76fbf80c /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentdbf3d779bdb3cc22652b6ab24ac9827e9f228f4e (diff)
downloadllvm-765a5d62bc59971d267a9effee2bfc0cee036182.zip
llvm-765a5d62bc59971d267a9effee2bfc0cee036182.tar.gz
llvm-765a5d62bc59971d267a9effee2bfc0cee036182.tar.bz2
[X86] Pre-SSE42 v2i64 sgt lowering - check if representable as v2i32 (#83560)
Without PCMPGTQ, if the i64 elements are sign-extended enough to be representable as i32 then we can compare the lower i32 bits with PCMPGTD and splat the results into the upper elements. Value tracking has meant we already get pretty close with this, but this allows us to remove a lot of unnecessary bit flipping.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions