aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/APInt.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-02-26 03:13:59 +0000
committerChris Lattner <sabre@nondot.org>2007-02-26 03:13:59 +0000
commit2255887574250bb0bc577fcfc0c65b3f617e8c3c (patch)
tree400842db95d7fed114a01be670dbc8192000b471 /lib/Support/APInt.cpp
parentddf53e45b29087c57e0c864c93f86d5e99182d55 (diff)
Fold (sext (truncate x)) more aggressively, by avoiding creation of a
sextinreg if not needed. This is useful in two cases: before legalize, it avoids creating a sextinreg that will be trivially removed. After legalize if the target doesn't support sextinreg, the trunc/sext would not have been removed before. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34621 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/APInt.cpp')
0 files changed, 0 insertions, 0 deletions