diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-10 20:25:54 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-10 20:25:54 +0000 |
commit | 39d2daa94c8028831c07eb410711ead3919daa10 (patch) | |
tree | 9cd7a8fd5d720cc6405e87f28fd633d57a40fa27 /clang/tools/c-index-test/c-index-test.c | |
parent | 5370ae7b7041cfdd00910aca9e17761eff0bd939 (diff) | |
download | bcm5719-llvm-39d2daa94c8028831c07eb410711ead3919daa10.tar.gz bcm5719-llvm-39d2daa94c8028831c07eb410711ead3919daa10.zip |
teach zext optimization how to deal with truncs that don't come from
the zext dest type. This allows us to handle test52/53 in cast.ll,
and allows llvm-gcc to generate much better code for PR4216 in -m64
mode:
_test_bitfield: ## @test_bitfield
orl $32962, %edi
movl %edi, %eax
andl $-25350, %eax
ret
This also fixes a bug handling vector extends, ensuring that the
mask produced is a vector constant, not an integer constant.
llvm-svn: 93127
Diffstat (limited to 'clang/tools/c-index-test/c-index-test.c')
0 files changed, 0 insertions, 0 deletions