summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/InstCount.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
commitfce448f8569ef7baba86f42cf571751f0bcb8cbe (patch)
treedcdfdd84c84480c8457b5e40f875b958b6c8e4b9 /llvm/lib/Analysis/InstCount.cpp
parentab5d0ac02c4174078fed4fed2e3da36eeb8c8807 (diff)
downloadbcm5719-llvm-fce448f8569ef7baba86f42cf571751f0bcb8cbe.tar.gz
bcm5719-llvm-fce448f8569ef7baba86f42cf571751f0bcb8cbe.zip
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. llvm-svn: 34621
Diffstat (limited to 'llvm/lib/Analysis/InstCount.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud