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:
ebbc95d
)
Bug fix. ~1U marks the val# dead.
author
Evan Cheng
<evan.cheng@apple.com>
Thu, 9 Aug 2007 23:14:39 +0000
(23:14 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Thu, 9 Aug 2007 23:14:39 +0000
(23:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40975
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SimpleRegisterCoalescing.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SimpleRegisterCoalescing.cpp
b/lib/CodeGen/SimpleRegisterCoalescing.cpp
index cead5e5240e360b6d5a13e29381910bc40936405..0b3d17823a2d473054814f3c3d4ad58705317aaa 100644
(file)
--- a/
lib/CodeGen/SimpleRegisterCoalescing.cpp
+++ b/
lib/CodeGen/SimpleRegisterCoalescing.cpp
@@
-645,7
+645,7
@@
bool SimpleRegisterCoalescing::JoinIntervals(LiveInterval &LHS, LiveInterval &RH
// Otherwise, use the specified value #.
LHSValNoAssignments[VN] = RHSValID;
if (VN != (unsigned)RHSValID)
- ValueNumberInfo[VN]
.def = RHSValNoInfo.def;
+ ValueNumberInfo[VN]
->def = ~1U; // Now this val# is dead.
else
ValueNumberInfo[VN] = RHSValNoInfo;
}