diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-01-06 19:43:21 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-01-06 19:43:21 +0000 |
commit | 746012a6c14e86d8a8314cd32e7651e0d51dac08 (patch) | |
tree | c91502527b7b2ab10c61626b55051c831901475c /llvm/lib/CodeGen/SelectionDAG | |
parent | 166a4e6caab65844a763fb3fd80fe4d95bafe508 (diff) | |
download | bcm5719-llvm-746012a6c14e86d8a8314cd32e7651e0d51dac08.tar.gz bcm5719-llvm-746012a6c14e86d8a8314cd32e7651e0d51dac08.zip |
Comment.
llvm-svn: 92850
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 8ed24cce744..352b0efe06c 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -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; |