is of the llvm.sjlj.* flavore) and convert grep->FileCheck
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181468
91177308-0d34-0410-b5e6-
96231b3b80d8
-/* RUN: %clang_cc1 %s -emit-llvm -o - | not grep __builtin_
+/* RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
*
- * __builtin_longjmp/setjmp should get transformed into llvm.setjmp/longjmp
- * just like explicit setjmp/longjmp calls are.
+ * __builtin_longjmp/setjmp should get transformed into intrinsics.
*/
+// CHECK-NOT: builtin_longjmp
+
void jumpaway(int *ptr) {
__builtin_longjmp(ptr,1);
}