diff options
author | Chris Lattner <sabre@nondot.org> | 2006-09-21 06:00:20 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-09-21 06:00:20 +0000 |
commit | 6007b84a5bdcba9ee012418fedd32c236aad2cf6 (patch) | |
tree | 377a0ed2999b14e140b80ccb1b1edc03ca8021a3 /lib/Transforms/Utils/InlineFunction.cpp | |
parent | 60e32b07768631ef3e2af4811dee39951ae633c8 (diff) |
Generalize (zext (truncate x)) and (sext (truncate x)) folding to work when
the src/dst are not the same size. This catches things like "truncate
32-bit X to 8 bits, then zext to 16", which happens a bit on X86.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30557 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions