Fixing a build error.
authorChris Bieneman <beanz@apple.com>
Wed, 17 Sep 2014 21:06:59 +0000 (21:06 +0000)
committerChris Bieneman <beanz@apple.com>
Wed, 17 Sep 2014 21:06:59 +0000 (21:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217983 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Utils/SimplifyLibCalls.cpp

index d9c9100..cb4b09c 100644 (file)
@@ -52,7 +52,7 @@ static bool ignoreCallingConv(LibFunc::Func Func) {
   default:
     return false;
   }
-  llvm_unreachable();
+  llvm_unreachable("All cases should be covered in the switch.");
 }
 
 /// isOnlyUsedInZeroEqualityComparison - Return true if it only matters that the