loads also handled of course.

llvm-svn: 146910
This commit is contained in:
Chris Lattner 2011-12-19 21:17:33 +00:00
parent 872e062566
commit 4db839a8d4
1 changed files with 8 additions and 0 deletions

View File

@ -18,6 +18,13 @@ void test1(myint *p) {
// CHECK: store i32 0, i32* {{.*}}, align 1
// CHECK: ret void
int test1a(myint *p) {
return *p;
}
// CHECK: @test1a(
// CHECK: load i32* {{.*}}, align 1
// CHECK: ret i32
// PR5279 - Reduced alignment on typedef.
typedef float __attribute__((vector_size(16), aligned(4))) packedfloat4;
@ -39,3 +46,4 @@ void test3(packedfloat3 *p) {
// CHECK: store <3 x float> {{.*}}, align 4
// CHECK: ret void