[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / CodeGen / X86 / x86-soft-float.c
blob283a0cbc71bd8d462519c5641ba9f4924f71f94a
1 // RUN: %clang_cc1 -triple i386-unknown-unknown -mregparm 3 -emit-llvm %s -o - | FileCheck %s -check-prefix=HARD
2 // RUN: %clang_cc1 -triple i386-unknown-unknown -mregparm 3 -mfloat-abi soft -emit-llvm %s -o - | FileCheck %s -check-prefix=SOFT
4 // HARD: define{{.*}} void @f1(float noundef %a)
5 // SOFT: define{{.*}} void @f1(float inreg noundef %a)
6 void f1(float a) {}