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:
ffda6ba
)
Use FuncInfo's isExportedInst accessor method instead of
author
Dan Gohman
<gohman@apple.com>
Thu, 1 Jul 2010 03:57:05 +0000
(
03:57
+0000)
committer
Dan Gohman
<gohman@apple.com>
Thu, 1 Jul 2010 03:57:05 +0000
(
03:57
+0000)
doing the work manually.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107384
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 7e78bf1b7ad44ddeda9b6df2eafcd7da17257f37..073e2964d2082b678f0a95289146c8456a964c7c 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@
-712,7
+712,7
@@
void SelectionDAGISel::SelectAllBasicBlocks(const Function &Fn) {
// Defer instructions with no side effects; they'll be emitted
// on-demand later.
if (BI->isSafeToSpeculativelyExecute() &&
- !FuncInfo->
ValueMap.coun
t(BI))
+ !FuncInfo->
isExportedIns
t(BI))
continue;
// Try to select the instruction with FastISel.