Home | History | Annotate | Download | only in CBackend
      1 ; PR1164
      2 ; RUN: llc < %s -march=c | grep {llvm_cbe_A = \\*llvm_cbe_G;}
      3 ; RUN: llc < %s -march=c | grep {llvm_cbe_B = \\*(&ltmp_0_1);}
      4 ; RUN: llc < %s -march=c | grep {return (((unsigned int )(((unsigned int )llvm_cbe_A) + ((unsigned int )llvm_cbe_B))));}
      5 
      6 @G = global i32 123
      7 @ltmp_0_1 = global i32 123
      8 
      9 define i32 @test(i32 *%G) {
     10         %A = load i32* %G
     11         %B = load i32* @ltmp_0_1
     12         %C = add i32 %A, %B
     13         ret i32 %C
     14 }
     15