Home | History | Annotate | Download | only in CodeGenOpenCL
      1 // RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s -check-prefix=NORMAL
      2 // RUN: %clang_cc1 %s -emit-llvm -cl-no-signed-zeros -o - | FileCheck %s -check-prefix=NO-SIGNED-ZEROS
      3 
      4 float signedzeros(float a) {
      5   return a;
      6 }
      7 
      8 // CHECK: attributes
      9 // NORMAL: "no-signed-zeros-fp-math"="false"
     10 // NO-SIGNED-ZEROS: "no-signed-zeros-fp-math"="true"
     11