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:
9e54920
)
Oops, missed one.
author
Owen Anderson
<resistor@mac.com>
Mon, 7 Jan 2008 21:32:09 +0000
(21:32 +0000)
committer
Owen Anderson
<resistor@mac.com>
Mon, 7 Jan 2008 21:32:09 +0000
(21:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45719
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/StrongPHIElimination.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/StrongPHIElimination.cpp
b/lib/CodeGen/StrongPHIElimination.cpp
index c3d554a3b631b67b792526add15ef6c0648a2af4..3a7e108292537b9faf4594be0927c1b9cefa752d 100644
(file)
--- a/
lib/CodeGen/StrongPHIElimination.cpp
+++ b/
lib/CodeGen/StrongPHIElimination.cpp
@@
-268,7
+268,7
@@
static bool isKillInst(LiveVariables::VarInfo& V, MachineInstr* MI) {
/// trick parameter is 'mode' which tells it the relationship of the two
/// registers. 0 - defined in the same block, 1 - first properly dominates
/// second, 2 - second properly dominates first
-bool interferes(LiveVariables::VarInfo& First, LiveVariables::VarInfo& Second,
+
static
bool interferes(LiveVariables::VarInfo& First, LiveVariables::VarInfo& Second,
MachineBasicBlock* scan, unsigned mode) {
MachineInstr* def = 0;
MachineInstr* kill = 0;