diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-08-04 01:41:15 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-08-04 01:41:15 +0000 |
commit | 03eb0e3c3357f09c4b710d43bac04e8f02870341 (patch) | |
tree | fbf72e267f5f81ecc68fd68f713e362127a1fdfb /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 10ff786e1eb8d114a1740db498ec1864a8cc4b2c (diff) | |
download | llvm-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