summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Writer/BitWriter.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-07-12 18:06:44 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-07-12 18:06:44 +0000
commitb619dd5d5b69ba9f4571a96e1a96d09d8aed03a7 (patch)
tree79411ae481a896f857d5a454961479a75289eac9 /lib/Bitcode/Writer/BitWriter.cpp
parent2494dfcf1795a9bd28030d04cf2fb15e5c3b0f33 (diff)
downloadllvm-b619dd5d5b69ba9f4571a96e1a96d09d8aed03a7.tar.gz
llvm-b619dd5d5b69ba9f4571a96e1a96d09d8aed03a7.tar.bz2
llvm-b619dd5d5b69ba9f4571a96e1a96d09d8aed03a7.tar.xz
X86: Shrink certain forms of movsx.
In particular: movsbw %al, %ax --> cbtw movswl %ax, %eax --> cwtl movslq %eax, %rax --> cltq According to Intel's manual those have the same performance characteristics but come with a smaller encoding. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186174 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Writer/BitWriter.cpp')
0 files changed, 0 insertions, 0 deletions