From: Xinliang David Li Date: Sun, 18 Sep 2016 18:52:08 +0000 (+0000) Subject: Fix built bot failure X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=760a2d0c51344348b8b5a8787c2cdd8f6cf5412c;p=llvm Fix built bot failure git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281859 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Instrumentation/PGOInstrumentation.cpp b/lib/Transforms/Instrumentation/PGOInstrumentation.cpp index f4ffe23420e..8f556683c35 100644 --- a/lib/Transforms/Instrumentation/PGOInstrumentation.cpp +++ b/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; } }