aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-15 05:40:59 +0000
committerChris Lattner <sabre@nondot.org>2010-04-15 05:40:59 +0000
commit6ebd8674eb049b254c769ecfe24dd8401eb4142b (patch)
treeef1d02b9db37156e8a81e0cf16862ce530f8e4ab /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentf9b2e3c68acb7a8188b5bd735216d207279bae9d (diff)
downloadllvm-6ebd8674eb049b254c769ecfe24dd8401eb4142b.zip
llvm-6ebd8674eb049b254c769ecfe24dd8401eb4142b.tar.gz
llvm-6ebd8674eb049b254c769ecfe24dd8401eb4142b.tar.bz2
teach codegen to turn trunc(zextload) into load when possible.
This doesn't occur much at all, it only seems to formed in the case when the trunc optimization kicks in due to phase ordering. In that case it is saves a few bytes on x86-32. llvm-svn: 101350
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions