From f0630d3d9608cdfc78042fc2bac3e3908d27611d Mon Sep 17 00:00:00 2001 From: Xinliang David Li Date: Sun, 18 Sep 2016 18:52:08 +0000 Subject: [PATCH] Fix built bot failure llvm-svn: 281859 --- llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp b/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp index f4ffe23..8f55668 100644 --- a/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp +++ b/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp @@ -988,7 +988,7 @@ void SelectInstVisitor::visitSelectInst(SelectInst &SI) { annotateOneSelectInst(SI); break; default: - assert(false && "Unknown visiting mode"); + llvm_unreachable("Unknown visiting mode"); break; } } -- 2.7.4