summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/x86_64-arguments-nacl.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGen/x86_64-arguments-nacl.c')
-rw-r--r--clang/test/CodeGen/x86_64-arguments-nacl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/CodeGen/x86_64-arguments-nacl.c b/clang/test/CodeGen/x86_64-arguments-nacl.c
index c5ae36085db..80159283062 100644
--- a/clang/test/CodeGen/x86_64-arguments-nacl.c
+++ b/clang/test/CodeGen/x86_64-arguments-nacl.c
@@ -61,14 +61,14 @@ void f12_1(struct s12 a0) {}
// Check that sret parameter is accounted for when checking available integer
// registers.
-// CHECK: define void @f13(%struct.s13_0* sret noalias %agg.result, i32 %a, i32 %b, i32 %c, i32 %d, {{.*}}* byval align 8 %e, i32 %f)
+// CHECK: define void @f13(%struct.s13_0* noalias sret %agg.result, i32 %a, i32 %b, i32 %c, i32 %d, {{.*}}* align 8 byval %e, i32 %f)
struct s13_0 { long long f0[3]; };
struct s13_1 { long long f0[2]; };
struct s13_0 f13(int a, int b, int c, int d,
struct s13_1 e, int f) { while (1) {} }
-// CHECK: define void @f20(%struct.s20* byval align 32 %x)
+// CHECK: define void @f20(%struct.s20* align 32 byval %x)
struct __attribute__((aligned(32))) s20 {
int x;
int y;
@@ -99,7 +99,7 @@ typedef struct {
// CHECK: define i32 @f48(%struct.s1* byval %s)
int __attribute__((pnaclcall)) f48(s1 s) { return s.a; }
-// CHECK: define void @f49(%struct.s1* sret noalias %agg.result)
+// CHECK: define void @f49(%struct.s1* noalias sret %agg.result)
s1 __attribute__((pnaclcall)) f49() { s1 s; s.a = s.b = 1; return s; }
union simple_union {
OpenPOWER on IntegriCloud