aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/StringExtras.cpp
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
commit9ee947c224a157a5fb2c921a0e194fddedef2f9f (patch)
tree216fdd4c47294d32953b52bd75c44f52e3b68e43 /lib/Support/StringExtras.cpp
parent859c372e04f053daa85812f8b790d2b0d1645fee (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93127 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/StringExtras.cpp')
0 files changed, 0 insertions, 0 deletions