clang/test/CodeGen/X86/x86-soft-float.c
raw| 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 |
| 3 | |
| 4 | // HARD: define{{.*}} void @f1(float noundef %a) |
| 5 | // SOFT: define{{.*}} void @f1(float inreg noundef %a) |
| 6 | void f1(float a) {} |