projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d40d03e
)
Comment.
author
Evan Cheng
<evan.cheng@apple.com>
Wed, 6 Jan 2010 19:43:21 +0000
(19:43 +0000)
committer
Evan 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
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 8ed24cce744f039346e6075950b237cf289d3ee1..352b0efe06c9cfa0c23ad674a9963eb7a68045ee 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/
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;