llvm-project/clang/test/CodeGenOpenCL/single-precision-constant.cl
Peter Collingbourne e91b2dbdf1 OpenCL: standardise naming of test cases
llvm-svn: 125590
2011-02-15 19:46:41 +00:00

8 lines
172 B
Common Lisp

// 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.;
}