brintos

brintos / llvm-project-archived public Read only

0
0
Text · 527 B · fe4368a Raw
14 lines · c
1// RUN: %clang_cc1 -fexperimental-strict-floating-point \2// RUN: -triple x86_64-linux-gnu -target-feature -sse -emit-llvm \3// RUN: -o - -verify=warn %s4//5// RUN: %clang_cc1 -fexperimental-strict-floating-point \6// RUN: -triple x86_64-linux-gnu -emit-llvm -o - -verify=no-warn %s7 8// no-warn-no-diagnostics9 10float add2(float a, float b, float c) {11#pragma clang fp eval_method(source)12  return a + b + c;13} // warn-warning{{setting the floating point evaluation method to `source` on a target without SSE is not supported}}14