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:
4af325d
)
Also delete last unused val#.
author
Evan Cheng
<evan.cheng@apple.com>
Mon, 27 Apr 2009 17:35:19 +0000
(17:35 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Mon, 27 Apr 2009 17:35:19 +0000
(17:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70212
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/LiveInterval.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/LiveInterval.cpp
b/lib/CodeGen/LiveInterval.cpp
index 0450c355dce9787c76e752040cb99a6fc24f089e..c34b628d5fe580cd1a90f742cee668b104ca0347 100644
(file)
--- a/
lib/CodeGen/LiveInterval.cpp
+++ b/
lib/CodeGen/LiveInterval.cpp
@@
-629,6
+629,12
@@
void LiveInterval::MergeInClobberRanges(const LiveInterval &Clobbers,
UnusedValNo = 0;
}
}
+
+ if (UnusedValNo) {
+ // Delete the last unused val#.
+ valnos.pop_back();
+ UnusedValNo->~VNInfo();
+ }
}
void LiveInterval::MergeInClobberRange(unsigned Start, unsigned End,