diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2007-08-09 23:14:39 +0000 | 
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2007-08-09 23:14:39 +0000 | 
| commit | 1115a2b412794afab11a989eec788276a92c0846 (patch) | |
| tree | ceab52b8f3e313680548783f1bec8a2d3f6a918e /llvm/lib | |
| parent | bdad80977b40ce9a833b2373323a5949dd2e5332 (diff) | |
| download | bcm5719-llvm-1115a2b412794afab11a989eec788276a92c0846.tar.gz bcm5719-llvm-1115a2b412794afab11a989eec788276a92c0846.zip | |
Bug fix. ~1U marks the val# dead.
llvm-svn: 40975
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp b/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp index cead5e5240e..0b3d17823a2 100644 --- a/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp +++ b/llvm/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;          } | 

