Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / nsan-basic.c
blob7aedaa38d881dea3d33ac57cabf643db899b07ec
1 // RUN: %clang_cc1 -triple x86_64 -emit-llvm -o - -fsanitize=numerical %s | FileCheck %s
3 // CHECK: Function Attrs: noinline nounwind optnone sanitize_numerical_stability
4 float add(float x, float y) {
5 float z = x + y;
6 return z;