commit | 54eb4c2991796c3014e831fc07e4a6c0a3df10f0 | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Wed Jan 06 19:43:21 2010 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Wed Jan 06 19:43:21 2010 +0000 |
tree | 2226409fab428d762b8d9d1286ada7dba69aa308 | |
parent | d40d03e1bd1d51857fc2f9f9230e334c3a32b249 [diff] [blame] |
Comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92850 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 8ed24cc..352b0ef 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -438,6 +438,9 @@ 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;