diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-15 05:40:59 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-15 05:40:59 +0000 |
commit | 6ebd8674eb049b254c769ecfe24dd8401eb4142b (patch) | |
tree | ef1d02b9db37156e8a81e0cf16862ce530f8e4ab /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | f9b2e3c68acb7a8188b5bd735216d207279bae9d (diff) | |
download | llvm-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 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions