Changeset View
Changeset View
Standalone View
Standalone View
clang/test/CodeGen/align-param.c
Context not available. | |||||
int test (long long x) { | int test (long long x) { | ||||
return (int)x; | return (int)x; | ||||
} | } | ||||
// CHECK-LABEL: define i32 @test | // CHECK-LABEL: define noundef i32 @test | ||||
// CHECK: alloca i64, align 8 | // CHECK: alloca i64, align 8 | ||||
Context not available. | |||||
int test2(struct X x __attribute((aligned(16)))) { | int test2(struct X x __attribute((aligned(16)))) { | ||||
return x.z; | return x.z; | ||||
} | } | ||||
// CHECK-LABEL: define i32 @test2 | // CHECK-LABEL: define noundef i32 @test2 | ||||
// CHECK: alloca %struct.X, align 16 | // CHECK: alloca %struct.X, align 16 | ||||
Context not available. |