Home | History | Annotate | Download | only in CodeGen
      1 // RUN: %clang_cc1 -ffinite-math-only -emit-llvm -o - %s | FileCheck %s
      2 float f0, f1, f2;
      3 
      4 void foo(void) {
      5   // CHECK: define void @foo()
      6 
      7   // CHECK: fadd nnan ninf
      8   f0 = f1 + f2;
      9 
     10   // CHECK: ret
     11 }
     12