[llvm] r217983 - Fixing a build error.

Chris Bieneman beanz at apple.com
Wed Sep 17 14:07:00 PDT 2014


Author: cbieneman
Date: Wed Sep 17 16:06:59 2014
New Revision: 217983

URL: http://llvm.org/viewvc/llvm-project?rev=217983&view=rev
Log:
Fixing a build error.

Modified:
    llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp

Modified: llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp?rev=217983&r1=217982&r2=217983&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/SimplifyLibCalls.cpp Wed Sep 17 16:06:59 2014
@@ -52,7 +52,7 @@ static bool ignoreCallingConv(LibFunc::F
   default:
     return false;
   }
-  llvm_unreachable();
+  llvm_unreachable("All cases should be covered in the switch.");
 }
 
 /// isOnlyUsedInZeroEqualityComparison - Return true if it only matters that the





More information about the llvm-commits mailing list