| commit | e91b2dbdf155b9e9f8ec790e77487bf2de96ea88 | [log] [tgz] |
|---|---|---|
| author | Peter Collingbourne <peter@pcc.me.uk> | Tue Feb 15 19:46:41 2011 +0000 |
| committer | Peter Collingbourne <peter@pcc.me.uk> | Tue Feb 15 19:46:41 2011 +0000 |
| tree | 0dbeb5ba9f48d375b98f9812018ea783c7433357 | |
| parent | 5df20e02af72fdb1328c981f6f2b6dd7e1d24c1b [diff] [blame] |
OpenCL: standardise naming of test cases llvm-svn: 125590
diff --git a/clang/test/CodeGenOpenCL/single-precision-constant.cl b/clang/test/CodeGenOpenCL/single-precision-constant.cl new file mode 100644 index 0000000..62b37c1 --- /dev/null +++ b/clang/test/CodeGenOpenCL/single-precision-constant.cl
@@ -0,0 +1,7 @@ +// RUN: %clang_cc1 %s -cl-single-precision-constant -emit-llvm -o - | FileCheck %s + +float fn(float f) { + // CHECK: fmul float + // CHECK: fadd float + return f*2. + 1.; +}