summaryrefslogtreecommitdiffstats
path: root/clang/tools/c-index-test/c-index-test.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-10 20:25:54 +0000
committerChris Lattner <sabre@nondot.org>2010-01-10 20:25:54 +0000
commit39d2daa94c8028831c07eb410711ead3919daa10 (patch)
tree9cd7a8fd5d720cc6405e87f28fd633d57a40fa27 /clang/tools/c-index-test/c-index-test.c
parent5370ae7b7041cfdd00910aca9e17761eff0bd939 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud