diff options
| author | Chris Lattner <sabre@nondot.org> | 2007-02-26 03:13:59 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2007-02-26 03:13:59 +0000 |
| commit | fce448f8569ef7baba86f42cf571751f0bcb8cbe (patch) | |
| tree | dcdfdd84c84480c8457b5e40f875b958b6c8e4b9 /llvm/lib/Analysis/InstCount.cpp | |
| parent | ab5d0ac02c4174078fed4fed2e3da36eeb8c8807 (diff) | |
| download | bcm5719-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

