Comment.
authorEvan Cheng <evan.cheng@apple.com>
Wed, 6 Jan 2010 19:43:21 +0000 (19:43 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 6 Jan 2010 19:43:21 +0000 (19:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92850 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

index 8ed24cce744f039346e6075950b237cf289d3ee1..352b0efe06c9cfa0c23ad674a9963eb7a68045ee 100644 (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;