projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10c3102
)
[test] FileCheck-ify a test to avoid a spurious failure, NFC
author
Vedant Kumar
<vsk@apple.com>
Sat, 29 Jul 2017 00:19:52 +0000
(
00:19
+0000)
committer
Vedant Kumar
<vsk@apple.com>
Sat, 29 Jul 2017 00:19:52 +0000
(
00:19
+0000)
The path to one of my source trees contains 'builtin' as a substring, so
this test failed. Fix it with FileCheck.
llvm-svn: 309460
clang/test/CodeGen/2004-02-20-Builtins.c
patch
|
blob
|
history
diff --git
a/clang/test/CodeGen/2004-02-20-Builtins.c
b/clang/test/CodeGen/2004-02-20-Builtins.c
index
9be0523
..
13f9701
100644
(file)
--- a/
clang/test/CodeGen/2004-02-20-Builtins.c
+++ b/
clang/test/CodeGen/2004-02-20-Builtins.c
@@
-1,5
+1,8
@@
-// RUN: %clang_cc1 %s -emit-llvm -o - |
not grep builtin
+// RUN: %clang_cc1 %s -emit-llvm -o - |
FileCheck %s
double sqrt(double x);
+
+// CHECK-LABEL: @zsqrtxxx
+// CHECK-NOT: builtin
void zsqrtxxx(float num) {
num = sqrt(num);
}