mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 13:26:09 +00:00
8 lines
234 B
C
8 lines
234 B
C
// RUN: %clang_cc1 -triple x86_64 -emit-llvm -o - -fsanitize=numerical %s | FileCheck %s
|
|
|
|
// CHECK: Function Attrs: noinline nounwind optnone sanitize_numerical_stability
|
|
float add(float x, float y) {
|
|
float z = x + y;
|
|
return z;
|
|
}
|