diff options
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/RegisterCoalescer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegisterCoalescer.cpp b/llvm/lib/CodeGen/RegisterCoalescer.cpp index cc4d5590b6a..ad9aec36a97 100644 --- a/llvm/lib/CodeGen/RegisterCoalescer.cpp +++ b/llvm/lib/CodeGen/RegisterCoalescer.cpp @@ -1817,7 +1817,7 @@ JoinVals::analyzeValue(unsigned ValNo, JoinVals &Other) { // not important. if (Redef) { V.RedefVNI = LR.Query(VNI->def).valueIn(); - assert(TrackSubRegLiveness || V.RedefVNI && + assert((TrackSubRegLiveness || V.RedefVNI) && "Instruction is reading nonexistent value"); if (V.RedefVNI != nullptr) { computeAssignment(V.RedefVNI->id, Other); |