summaryrefslogtreecommitdiff
path: root/test/CodeGenOpenCL/single-precision-constant.cl
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenOpenCL/single-precision-constant.cl')
-rw-r--r--test/CodeGenOpenCL/single-precision-constant.cl3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/CodeGenOpenCL/single-precision-constant.cl b/test/CodeGenOpenCL/single-precision-constant.cl
index 62b37c136137..6ff7bd1bde2d 100644
--- a/test/CodeGenOpenCL/single-precision-constant.cl
+++ b/test/CodeGenOpenCL/single-precision-constant.cl
@@ -1,7 +1,6 @@
// RUN: %clang_cc1 %s -cl-single-precision-constant -emit-llvm -o - | FileCheck %s
float fn(float f) {
- // CHECK: fmul float
- // CHECK: fadd float
+ // CHECK: tail call float @llvm.fmuladd.f32(float %f, float 2.000000e+00, float 1.000000e+00)
return f*2. + 1.;
}