Home | History | Annotate | Download | only in CBackend
      1 ; RUN: llc < %s -march=c | \
      2 ; RUN:          grep {struct __attribute__ ((packed, aligned(} | count 4
      3 
      4 define void @test(i32* %P) {
      5         %X = load i32* %P, align 1
      6         store i32 %X, i32* %P, align 1
      7         ret void
      8 }
      9 
     10 define void @test2(i32* %P) {
     11         %X = volatile load i32* %P, align 2
     12         volatile store i32 %X, i32* %P, align 2
     13         ret void
     14 }
     15 
     16