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 d9c9100197329592d5aa9997dac325e1e95c53be..cb4b09cbaf040c56e667a90ce3a262d3f7e56351 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