llvm-svn: 92850
This commit is contained in:
Evan Cheng 2010-01-06 19:43:21 +00:00
parent 166a4e6caa
commit 746012a6c1
1 changed files with 3 additions and 0 deletions

View File

@ -438,6 +438,9 @@ void SelectionDAGISel::SelectBasicBlock(BasicBlock *LLVMBB,
SDB->clear();
}
/// ShrinkDemandedOps - A late transformation pass that shrink expressions
/// using TargetLowering::TargetLoweringOpt::ShrinkDemandedOp. It converts
/// x+y to (VT)((SmallVT)x+(SmallVT)y) if the casts are free.
void SelectionDAGISel::ShrinkDemandedOps() {
SmallVector<SDNode*, 128> Worklist;