2012-10-02 22:26:08 +08:00
|
|
|
// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm < %s | FileCheck %s
|
2008-11-12 04:21:14 +08:00
|
|
|
|
|
|
|
void __attribute__((fastcall)) f1(void);
|
|
|
|
void __attribute__((stdcall)) f2(void);
|
2010-05-19 00:57:00 +08:00
|
|
|
void __attribute__((thiscall)) f3(void);
|
|
|
|
void __attribute__((fastcall)) f4(void) {
|
[CodeGenModule] Assume dso_local for -fpic -fno-semantic-interposition
Summary:
Clang -fpic defaults to -fno-semantic-interposition (GCC -fpic defaults
to -fsemantic-interposition).
Users need to specify -fsemantic-interposition to get semantic
interposition behavior.
Semantic interposition is currently a best-effort feature. There may
still be some cases where it is not handled well.
Reviewers: peter.smith, rnk, serge-sans-paille, sfertile, jfb, jdoerfert
Subscribers: dschuff, jyknight, dylanmckay, nemanjai, jvesely, kbarton, fedor.sergeev, asb, rbar, johnrusso, simoncook, sabuasal, niosHD, jrtc27, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, arphaman, PkmX, jocewei, jsji, Jim, lenary, s.egerton, pzheng, sameer.abuasal, apazos, luismarques, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D73865
2020-02-03 04:23:47 +08:00
|
|
|
// CHECK-LABEL: define dso_local x86_fastcallcc void @f4()
|
2008-11-12 04:21:14 +08:00
|
|
|
f1();
|
2010-02-06 04:45:48 +08:00
|
|
|
// CHECK: call x86_fastcallcc void @f1()
|
2008-11-12 04:21:14 +08:00
|
|
|
}
|
2010-05-19 00:57:00 +08:00
|
|
|
void __attribute__((stdcall)) f5(void) {
|
[CodeGenModule] Assume dso_local for -fpic -fno-semantic-interposition
Summary:
Clang -fpic defaults to -fno-semantic-interposition (GCC -fpic defaults
to -fsemantic-interposition).
Users need to specify -fsemantic-interposition to get semantic
interposition behavior.
Semantic interposition is currently a best-effort feature. There may
still be some cases where it is not handled well.
Reviewers: peter.smith, rnk, serge-sans-paille, sfertile, jfb, jdoerfert
Subscribers: dschuff, jyknight, dylanmckay, nemanjai, jvesely, kbarton, fedor.sergeev, asb, rbar, johnrusso, simoncook, sabuasal, niosHD, jrtc27, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, arphaman, PkmX, jocewei, jsji, Jim, lenary, s.egerton, pzheng, sameer.abuasal, apazos, luismarques, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D73865
2020-02-03 04:23:47 +08:00
|
|
|
// CHECK-LABEL: define dso_local x86_stdcallcc void @f5()
|
2008-11-12 04:21:14 +08:00
|
|
|
f2();
|
2010-02-06 04:45:48 +08:00
|
|
|
// CHECK: call x86_stdcallcc void @f2()
|
2008-11-12 04:21:14 +08:00
|
|
|
}
|
2010-05-19 00:57:00 +08:00
|
|
|
void __attribute__((thiscall)) f6(void) {
|
[CodeGenModule] Assume dso_local for -fpic -fno-semantic-interposition
Summary:
Clang -fpic defaults to -fno-semantic-interposition (GCC -fpic defaults
to -fsemantic-interposition).
Users need to specify -fsemantic-interposition to get semantic
interposition behavior.
Semantic interposition is currently a best-effort feature. There may
still be some cases where it is not handled well.
Reviewers: peter.smith, rnk, serge-sans-paille, sfertile, jfb, jdoerfert
Subscribers: dschuff, jyknight, dylanmckay, nemanjai, jvesely, kbarton, fedor.sergeev, asb, rbar, johnrusso, simoncook, sabuasal, niosHD, jrtc27, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, arphaman, PkmX, jocewei, jsji, Jim, lenary, s.egerton, pzheng, sameer.abuasal, apazos, luismarques, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D73865
2020-02-03 04:23:47 +08:00
|
|
|
// CHECK-LABEL: define dso_local x86_thiscallcc void @f6()
|
2010-05-19 00:57:00 +08:00
|
|
|
f3();
|
|
|
|
// CHECK: call x86_thiscallcc void @f3()
|
|
|
|
}
|
2008-11-12 04:21:14 +08:00
|
|
|
|
2010-02-06 02:13:10 +08:00
|
|
|
// PR5280
|
|
|
|
void (__attribute__((fastcall)) *pf1)(void) = f1;
|
|
|
|
void (__attribute__((stdcall)) *pf2)(void) = f2;
|
2010-05-19 00:57:00 +08:00
|
|
|
void (__attribute__((thiscall)) *pf3)(void) = f3;
|
|
|
|
void (__attribute__((fastcall)) *pf4)(void) = f4;
|
|
|
|
void (__attribute__((stdcall)) *pf5)(void) = f5;
|
|
|
|
void (__attribute__((thiscall)) *pf6)(void) = f6;
|
2010-02-06 02:13:10 +08:00
|
|
|
|
2008-11-12 04:21:14 +08:00
|
|
|
int main(void) {
|
2010-05-19 00:57:00 +08:00
|
|
|
f4(); f5(); f6();
|
|
|
|
// CHECK: call x86_fastcallcc void @f4()
|
|
|
|
// CHECK: call x86_stdcallcc void @f5()
|
|
|
|
// CHECK: call x86_thiscallcc void @f6()
|
|
|
|
pf1(); pf2(); pf3(); pf4(); pf5(); pf6();
|
2010-02-06 05:31:56 +08:00
|
|
|
// CHECK: call x86_fastcallcc void %{{.*}}()
|
|
|
|
// CHECK: call x86_stdcallcc void %{{.*}}()
|
2010-05-19 00:57:00 +08:00
|
|
|
// CHECK: call x86_thiscallcc void %{{.*}}()
|
2010-02-06 05:31:56 +08:00
|
|
|
// CHECK: call x86_fastcallcc void %{{.*}}()
|
|
|
|
// CHECK: call x86_stdcallcc void %{{.*}}()
|
2010-05-19 00:57:00 +08:00
|
|
|
// CHECK: call x86_thiscallcc void %{{.*}}()
|
2008-11-12 04:21:14 +08:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2010-05-17 10:50:18 +08:00
|
|
|
// PR7117
|
2010-05-19 00:57:00 +08:00
|
|
|
void __attribute((stdcall)) f7(foo) int foo; {}
|
|
|
|
void f8(void) {
|
|
|
|
f7(0);
|
2011-09-21 16:08:30 +08:00
|
|
|
// CHECK: call x86_stdcallcc void @f7(i32 0)
|
2010-05-17 10:50:18 +08:00
|
|
|
}
|
2012-10-24 09:58:58 +08:00
|
|
|
|
|
|
|
void __attribute__((fastcall)) foo1(int y);
|
|
|
|
void bar1(int y) {
|
[CodeGenModule] Assume dso_local for -fpic -fno-semantic-interposition
Summary:
Clang -fpic defaults to -fno-semantic-interposition (GCC -fpic defaults
to -fsemantic-interposition).
Users need to specify -fsemantic-interposition to get semantic
interposition behavior.
Semantic interposition is currently a best-effort feature. There may
still be some cases where it is not handled well.
Reviewers: peter.smith, rnk, serge-sans-paille, sfertile, jfb, jdoerfert
Subscribers: dschuff, jyknight, dylanmckay, nemanjai, jvesely, kbarton, fedor.sergeev, asb, rbar, johnrusso, simoncook, sabuasal, niosHD, jrtc27, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, arphaman, PkmX, jocewei, jsji, Jim, lenary, s.egerton, pzheng, sameer.abuasal, apazos, luismarques, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D73865
2020-02-03 04:23:47 +08:00
|
|
|
// CHECK-LABEL: define dso_local void @bar1
|
2012-10-24 09:58:58 +08:00
|
|
|
// CHECK: call x86_fastcallcc void @foo1(i32 inreg %
|
|
|
|
foo1(y);
|
|
|
|
}
|
|
|
|
|
|
|
|
struct S1 {
|
|
|
|
int x;
|
|
|
|
};
|
|
|
|
void __attribute__((fastcall)) foo2(struct S1 y);
|
|
|
|
void bar2(struct S1 y) {
|
[CodeGenModule] Assume dso_local for -fpic -fno-semantic-interposition
Summary:
Clang -fpic defaults to -fno-semantic-interposition (GCC -fpic defaults
to -fsemantic-interposition).
Users need to specify -fsemantic-interposition to get semantic
interposition behavior.
Semantic interposition is currently a best-effort feature. There may
still be some cases where it is not handled well.
Reviewers: peter.smith, rnk, serge-sans-paille, sfertile, jfb, jdoerfert
Subscribers: dschuff, jyknight, dylanmckay, nemanjai, jvesely, kbarton, fedor.sergeev, asb, rbar, johnrusso, simoncook, sabuasal, niosHD, jrtc27, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, arphaman, PkmX, jocewei, jsji, Jim, lenary, s.egerton, pzheng, sameer.abuasal, apazos, luismarques, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D73865
2020-02-03 04:23:47 +08:00
|
|
|
// CHECK-LABEL: define dso_local void @bar2
|
2012-10-24 09:59:00 +08:00
|
|
|
// CHECK: call x86_fastcallcc void @foo2(i32 inreg undef, i32 %
|
2012-10-24 09:58:58 +08:00
|
|
|
foo2(y);
|
|
|
|
}
|
|
|
|
|
|
|
|
void __attribute__((fastcall)) foo3(int *y);
|
|
|
|
void bar3(int *y) {
|
[CodeGenModule] Assume dso_local for -fpic -fno-semantic-interposition
Summary:
Clang -fpic defaults to -fno-semantic-interposition (GCC -fpic defaults
to -fsemantic-interposition).
Users need to specify -fsemantic-interposition to get semantic
interposition behavior.
Semantic interposition is currently a best-effort feature. There may
still be some cases where it is not handled well.
Reviewers: peter.smith, rnk, serge-sans-paille, sfertile, jfb, jdoerfert
Subscribers: dschuff, jyknight, dylanmckay, nemanjai, jvesely, kbarton, fedor.sergeev, asb, rbar, johnrusso, simoncook, sabuasal, niosHD, jrtc27, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, arphaman, PkmX, jocewei, jsji, Jim, lenary, s.egerton, pzheng, sameer.abuasal, apazos, luismarques, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D73865
2020-02-03 04:23:47 +08:00
|
|
|
// CHECK-LABEL: define dso_local void @bar3
|
2012-10-24 09:58:58 +08:00
|
|
|
// CHECK: call x86_fastcallcc void @foo3(i32* inreg %
|
|
|
|
foo3(y);
|
|
|
|
}
|
|
|
|
|
|
|
|
enum Enum {Eval};
|
|
|
|
void __attribute__((fastcall)) foo4(enum Enum y);
|
|
|
|
void bar4(enum Enum y) {
|
[CodeGenModule] Assume dso_local for -fpic -fno-semantic-interposition
Summary:
Clang -fpic defaults to -fno-semantic-interposition (GCC -fpic defaults
to -fsemantic-interposition).
Users need to specify -fsemantic-interposition to get semantic
interposition behavior.
Semantic interposition is currently a best-effort feature. There may
still be some cases where it is not handled well.
Reviewers: peter.smith, rnk, serge-sans-paille, sfertile, jfb, jdoerfert
Subscribers: dschuff, jyknight, dylanmckay, nemanjai, jvesely, kbarton, fedor.sergeev, asb, rbar, johnrusso, simoncook, sabuasal, niosHD, jrtc27, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, arphaman, PkmX, jocewei, jsji, Jim, lenary, s.egerton, pzheng, sameer.abuasal, apazos, luismarques, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D73865
2020-02-03 04:23:47 +08:00
|
|
|
// CHECK-LABEL: define dso_local void @bar4
|
2012-10-24 09:58:58 +08:00
|
|
|
// CHECK: call x86_fastcallcc void @foo4(i32 inreg %
|
|
|
|
foo4(y);
|
|
|
|
}
|
|
|
|
|
|
|
|
struct S2 {
|
|
|
|
int x1;
|
|
|
|
double x2;
|
|
|
|
double x3;
|
|
|
|
};
|
|
|
|
void __attribute__((fastcall)) foo5(struct S2 y);
|
|
|
|
void bar5(struct S2 y) {
|
[CodeGenModule] Assume dso_local for -fpic -fno-semantic-interposition
Summary:
Clang -fpic defaults to -fno-semantic-interposition (GCC -fpic defaults
to -fsemantic-interposition).
Users need to specify -fsemantic-interposition to get semantic
interposition behavior.
Semantic interposition is currently a best-effort feature. There may
still be some cases where it is not handled well.
Reviewers: peter.smith, rnk, serge-sans-paille, sfertile, jfb, jdoerfert
Subscribers: dschuff, jyknight, dylanmckay, nemanjai, jvesely, kbarton, fedor.sergeev, asb, rbar, johnrusso, simoncook, sabuasal, niosHD, jrtc27, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, arphaman, PkmX, jocewei, jsji, Jim, lenary, s.egerton, pzheng, sameer.abuasal, apazos, luismarques, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D73865
2020-02-03 04:23:47 +08:00
|
|
|
// CHECK-LABEL: define dso_local void @bar5
|
2019-06-06 05:12:14 +08:00
|
|
|
// CHECK: call x86_fastcallcc void @foo5(%struct.S2* byval(%struct.S2) align 4 %
|
2012-10-24 09:58:58 +08:00
|
|
|
foo5(y);
|
|
|
|
}
|
|
|
|
|
|
|
|
void __attribute__((fastcall)) foo6(long long y);
|
|
|
|
void bar6(long long y) {
|
[CodeGenModule] Assume dso_local for -fpic -fno-semantic-interposition
Summary:
Clang -fpic defaults to -fno-semantic-interposition (GCC -fpic defaults
to -fsemantic-interposition).
Users need to specify -fsemantic-interposition to get semantic
interposition behavior.
Semantic interposition is currently a best-effort feature. There may
still be some cases where it is not handled well.
Reviewers: peter.smith, rnk, serge-sans-paille, sfertile, jfb, jdoerfert
Subscribers: dschuff, jyknight, dylanmckay, nemanjai, jvesely, kbarton, fedor.sergeev, asb, rbar, johnrusso, simoncook, sabuasal, niosHD, jrtc27, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, arphaman, PkmX, jocewei, jsji, Jim, lenary, s.egerton, pzheng, sameer.abuasal, apazos, luismarques, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D73865
2020-02-03 04:23:47 +08:00
|
|
|
// CHECK-LABEL: define dso_local void @bar6
|
2012-10-24 09:58:58 +08:00
|
|
|
// CHECK: call x86_fastcallcc void @foo6(i64 %
|
|
|
|
foo6(y);
|
|
|
|
}
|
|
|
|
|
|
|
|
void __attribute__((fastcall)) foo7(int a, struct S1 b, int c);
|
|
|
|
void bar7(int a, struct S1 b, int c) {
|
[CodeGenModule] Assume dso_local for -fpic -fno-semantic-interposition
Summary:
Clang -fpic defaults to -fno-semantic-interposition (GCC -fpic defaults
to -fsemantic-interposition).
Users need to specify -fsemantic-interposition to get semantic
interposition behavior.
Semantic interposition is currently a best-effort feature. There may
still be some cases where it is not handled well.
Reviewers: peter.smith, rnk, serge-sans-paille, sfertile, jfb, jdoerfert
Subscribers: dschuff, jyknight, dylanmckay, nemanjai, jvesely, kbarton, fedor.sergeev, asb, rbar, johnrusso, simoncook, sabuasal, niosHD, jrtc27, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, arphaman, PkmX, jocewei, jsji, Jim, lenary, s.egerton, pzheng, sameer.abuasal, apazos, luismarques, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D73865
2020-02-03 04:23:47 +08:00
|
|
|
// CHECK-LABEL: define dso_local void @bar7
|
2012-10-24 09:58:58 +08:00
|
|
|
// CHECK: call x86_fastcallcc void @foo7(i32 inreg %{{.*}}, i32 %{{.*}}, i32 %{{.*}}
|
|
|
|
foo7(a, b, c);
|
|
|
|
}
|
|
|
|
|
|
|
|
void __attribute__((fastcall)) foo8(struct S1 a, int b);
|
|
|
|
void bar8(struct S1 a, int b) {
|
[CodeGenModule] Assume dso_local for -fpic -fno-semantic-interposition
Summary:
Clang -fpic defaults to -fno-semantic-interposition (GCC -fpic defaults
to -fsemantic-interposition).
Users need to specify -fsemantic-interposition to get semantic
interposition behavior.
Semantic interposition is currently a best-effort feature. There may
still be some cases where it is not handled well.
Reviewers: peter.smith, rnk, serge-sans-paille, sfertile, jfb, jdoerfert
Subscribers: dschuff, jyknight, dylanmckay, nemanjai, jvesely, kbarton, fedor.sergeev, asb, rbar, johnrusso, simoncook, sabuasal, niosHD, jrtc27, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, arphaman, PkmX, jocewei, jsji, Jim, lenary, s.egerton, pzheng, sameer.abuasal, apazos, luismarques, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D73865
2020-02-03 04:23:47 +08:00
|
|
|
// CHECK-LABEL: define dso_local void @bar8
|
2012-10-24 09:59:00 +08:00
|
|
|
// CHECK: call x86_fastcallcc void @foo8(i32 inreg undef, i32 %{{.*}}, i32 inreg %
|
2012-10-24 09:58:58 +08:00
|
|
|
foo8(a, b);
|
|
|
|
}
|
|
|
|
|
|
|
|
void __attribute__((fastcall)) foo9(struct S2 a, int b);
|
|
|
|
void bar9(struct S2 a, int b) {
|
[CodeGenModule] Assume dso_local for -fpic -fno-semantic-interposition
Summary:
Clang -fpic defaults to -fno-semantic-interposition (GCC -fpic defaults
to -fsemantic-interposition).
Users need to specify -fsemantic-interposition to get semantic
interposition behavior.
Semantic interposition is currently a best-effort feature. There may
still be some cases where it is not handled well.
Reviewers: peter.smith, rnk, serge-sans-paille, sfertile, jfb, jdoerfert
Subscribers: dschuff, jyknight, dylanmckay, nemanjai, jvesely, kbarton, fedor.sergeev, asb, rbar, johnrusso, simoncook, sabuasal, niosHD, jrtc27, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, arphaman, PkmX, jocewei, jsji, Jim, lenary, s.egerton, pzheng, sameer.abuasal, apazos, luismarques, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D73865
2020-02-03 04:23:47 +08:00
|
|
|
// CHECK-LABEL: define dso_local void @bar9
|
2019-06-06 05:12:14 +08:00
|
|
|
// CHECK: call x86_fastcallcc void @foo9(%struct.S2* byval(%struct.S2) align 4 %{{.*}}, i32 %
|
2012-10-24 09:58:58 +08:00
|
|
|
foo9(a, b);
|
|
|
|
}
|
|
|
|
|
|
|
|
void __attribute__((fastcall)) foo10(float y, int x);
|
|
|
|
void bar10(float y, int x) {
|
[CodeGenModule] Assume dso_local for -fpic -fno-semantic-interposition
Summary:
Clang -fpic defaults to -fno-semantic-interposition (GCC -fpic defaults
to -fsemantic-interposition).
Users need to specify -fsemantic-interposition to get semantic
interposition behavior.
Semantic interposition is currently a best-effort feature. There may
still be some cases where it is not handled well.
Reviewers: peter.smith, rnk, serge-sans-paille, sfertile, jfb, jdoerfert
Subscribers: dschuff, jyknight, dylanmckay, nemanjai, jvesely, kbarton, fedor.sergeev, asb, rbar, johnrusso, simoncook, sabuasal, niosHD, jrtc27, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, arphaman, PkmX, jocewei, jsji, Jim, lenary, s.egerton, pzheng, sameer.abuasal, apazos, luismarques, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D73865
2020-02-03 04:23:47 +08:00
|
|
|
// CHECK-LABEL: define dso_local void @bar10
|
2012-10-24 09:58:58 +08:00
|
|
|
// CHECK: call x86_fastcallcc void @foo10(float %{{.*}}, i32 inreg %
|
|
|
|
foo10(y, x);
|
|
|
|
}
|
|
|
|
|
|
|
|
void __attribute__((fastcall)) foo11(double y, int x);
|
|
|
|
void bar11(double y, int x) {
|
[CodeGenModule] Assume dso_local for -fpic -fno-semantic-interposition
Summary:
Clang -fpic defaults to -fno-semantic-interposition (GCC -fpic defaults
to -fsemantic-interposition).
Users need to specify -fsemantic-interposition to get semantic
interposition behavior.
Semantic interposition is currently a best-effort feature. There may
still be some cases where it is not handled well.
Reviewers: peter.smith, rnk, serge-sans-paille, sfertile, jfb, jdoerfert
Subscribers: dschuff, jyknight, dylanmckay, nemanjai, jvesely, kbarton, fedor.sergeev, asb, rbar, johnrusso, simoncook, sabuasal, niosHD, jrtc27, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, arphaman, PkmX, jocewei, jsji, Jim, lenary, s.egerton, pzheng, sameer.abuasal, apazos, luismarques, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D73865
2020-02-03 04:23:47 +08:00
|
|
|
// CHECK-LABEL: define dso_local void @bar11
|
2012-10-24 09:58:58 +08:00
|
|
|
// CHECK: call x86_fastcallcc void @foo11(double %{{.*}}, i32 inreg %
|
|
|
|
foo11(y, x);
|
|
|
|
}
|
|
|
|
|
|
|
|
struct S3 {
|
|
|
|
float x;
|
|
|
|
};
|
|
|
|
void __attribute__((fastcall)) foo12(struct S3 y, int x);
|
|
|
|
void bar12(struct S3 y, int x) {
|
[CodeGenModule] Assume dso_local for -fpic -fno-semantic-interposition
Summary:
Clang -fpic defaults to -fno-semantic-interposition (GCC -fpic defaults
to -fsemantic-interposition).
Users need to specify -fsemantic-interposition to get semantic
interposition behavior.
Semantic interposition is currently a best-effort feature. There may
still be some cases where it is not handled well.
Reviewers: peter.smith, rnk, serge-sans-paille, sfertile, jfb, jdoerfert
Subscribers: dschuff, jyknight, dylanmckay, nemanjai, jvesely, kbarton, fedor.sergeev, asb, rbar, johnrusso, simoncook, sabuasal, niosHD, jrtc27, zzheng, edward-jones, atanasyan, rogfer01, MartinMosbeck, brucehoult, the_o, arphaman, PkmX, jocewei, jsji, Jim, lenary, s.egerton, pzheng, sameer.abuasal, apazos, luismarques, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D73865
2020-02-03 04:23:47 +08:00
|
|
|
// CHECK-LABEL: define dso_local void @bar12
|
2012-10-24 09:58:58 +08:00
|
|
|
// CHECK: call x86_fastcallcc void @foo12(float %{{.*}}, i32 inreg %
|
|
|
|
foo12(y, x);
|
|
|
|
}
|