projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
assert(0) -> LLVM_UNREACHABLE.
[oota-llvm.git]
/
lib
/
CodeGen
/
LiveIntervalAnalysis.cpp
diff --git
a/lib/CodeGen/LiveIntervalAnalysis.cpp
b/lib/CodeGen/LiveIntervalAnalysis.cpp
index 6abe465cb1b53f989257a83b77d91e6be586cda7..ed23bef214fdce1dbfc8350d3628c18de64cf45d 100644
(file)
--- a/
lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/
lib/CodeGen/LiveIntervalAnalysis.cpp
@@
-1102,7
+1102,7
@@
unsigned LiveIntervals::getVNInfoSourceReg(const VNInfo *VNI) const {
unsigned SrcReg, DstReg, SrcSubReg, DstSubReg;
if (tii_->isMoveInstr(*VNI->copy, SrcReg, DstReg, SrcSubReg, DstSubReg))
return SrcReg;
-
assert(0 &&
"Unrecognized copy instruction!");
+
LLVM_UNREACHABLE(
"Unrecognized copy instruction!");
return 0;
}