From 3b2cf96bae486b19aa6aee2209d3423e4893a2ce Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Tue, 22 May 2012 10:47:21 +0000 Subject: Replace some asserts with llvm_unreachable llvm-svn: 157244 --- polly/lib/Analysis/ScopInfo.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/polly/lib/Analysis/ScopInfo.cpp b/polly/lib/Analysis/ScopInfo.cpp index 74d6140653a..b1b95c03945 100644 --- a/polly/lib/Analysis/ScopInfo.cpp +++ b/polly/lib/Analysis/ScopInfo.cpp @@ -126,11 +126,11 @@ public: } __isl_give isl_pw_aff *visitTruncateExpr(const SCEVTruncateExpr *Expr) { - assert(0 && "Not yet supported"); + llvm_unreachable("SCEVTruncateExpr not yet supported"); } __isl_give isl_pw_aff *visitZeroExtendExpr(const SCEVZeroExtendExpr *Expr) { - assert(0 && "Not yet supported"); + llvm_unreachable("SCEVZeroExtendExpr not yet supported"); } __isl_give isl_pw_aff *visitSignExtendExpr(const SCEVSignExtendExpr *Expr) { @@ -172,7 +172,7 @@ public: } __isl_give isl_pw_aff *visitUDivExpr(const SCEVUDivExpr *Expr) { - assert(0 && "Not yet supported"); + llvm_unreachable("SCEVUDivExpr not yet supported"); } int getLoopDepth(const Loop *L) { @@ -214,7 +214,7 @@ public: } __isl_give isl_pw_aff *visitUMaxExpr(const SCEVUMaxExpr *Expr) { - assert(0 && "Not yet supported"); + llvm_unreachable("SCEVUMaxExpr not yet supported"); } __isl_give isl_pw_aff *visitUnknown(const SCEVUnknown *Expr) { -- cgit v1.2.3