aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-08-04 01:41:15 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-08-04 01:41:15 +0000
commit03eb0e3c3357f09c4b710d43bac04e8f02870341 (patch)
treefbf72e267f5f81ecc68fd68f713e362127a1fdfb /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent10ff786e1eb8d114a1740db498ec1864a8cc4b2c (diff)
downloadllvm-03eb0e3c3357f09c4b710d43bac04e8f02870341.zip
llvm-03eb0e3c3357f09c4b710d43bac04e8f02870341.tar.gz
llvm-03eb0e3c3357f09c4b710d43bac04e8f02870341.tar.bz2
Emit sub r, #c instead of transforming it to add r, #-c if c fits in 8-bit. This is a bit of pre-mature optimization. 8-bit variant makes it likely it will be narrowed to a 16-bit instruction.
llvm-svn: 78030
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions