You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
340 B
7 lines
340 B
4 months ago
|
// RUN: %clang_cc1 -triple i386-unknown-unknown -mregparm 3 -emit-llvm %s -o - | FileCheck %s -check-prefix=HARD
|
||
|
// RUN: %clang_cc1 -triple i386-unknown-unknown -mregparm 3 -mfloat-abi soft -emit-llvm %s -o - | FileCheck %s -check-prefix=SOFT
|
||
|
|
||
|
// HARD: define void @f1(float %a)
|
||
|
// SOFT: define void @f1(float inreg %a)
|
||
|
void f1(float a) {}
|