diff options
author | Tobias Grosser <grosser@fim.uni-passau.de> | 2012-05-22 10:47:21 +0000 |
---|---|---|
committer | Tobias Grosser <grosser@fim.uni-passau.de> | 2012-05-22 10:47:21 +0000 |
commit | 3b2cf96bae486b19aa6aee2209d3423e4893a2ce (patch) | |
tree | 41ffdfb97a40cd34be69c8b45d7df6ed23dbfaf9 | |
parent | 42b69e5745203b3d894a1384293c84c99ca6ba65 (diff) | |
download | bcm5719-llvm-3b2cf96bae486b19aa6aee2209d3423e4893a2ce.tar.gz bcm5719-llvm-3b2cf96bae486b19aa6aee2209d3423e4893a2ce.zip |
Replace some asserts with llvm_unreachable
llvm-svn: 157244
-rw-r--r-- | polly/lib/Analysis/ScopInfo.cpp | 8 |
1 files 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) { |