[llvm] r281859 - Fix built bot failure

Xinliang David Li via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 18 11:52:09 PDT 2016


Author: davidxl
Date: Sun Sep 18 13:52:08 2016
New Revision: 281859

URL: http://llvm.org/viewvc/llvm-project?rev=281859&view=rev
Log:
Fix built bot failure

Modified:
    llvm/trunk/lib/Transforms/Instrumentation/PGOInstrumentation.cpp

Modified: llvm/trunk/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Instrumentation/PGOInstrumentation.cpp?rev=281859&r1=281858&r2=281859&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Instrumentation/PGOInstrumentation.cpp (original)
+++ llvm/trunk/lib/Transforms/Instrumentation/PGOInstrumentation.cpp Sun Sep 18 13:52:08 2016
@@ -988,7 +988,7 @@ void SelectInstVisitor::visitSelectInst(
     annotateOneSelectInst(SI);
     break;
   default:
-    assert(false && "Unknown visiting mode");
+    llvm_unreachable("Unknown visiting mode");
     break;
   }
 }




More information about the llvm-commits mailing list