revert a hunk of r82018 that wasn't supposed to go in yet.
[llvm/avr.git] / test / CodeGen / Generic / empty-load-store.ll
blobbca73054447c3d01729e1bd84f4ea2236d08281c
1 ; RUN: llc < %s
2 ; PR2612
4 @current_foo = internal global {  } zeroinitializer
6 define i32 @foo() {
7 entry:
8         %retval = alloca i32
9         store i32 0, i32* %retval
10         %local_foo = alloca {  }
11         load {  }* @current_foo
12         store {  } %0, {  }* %local_foo
13         br label %return
15 return:
16         load i32* %retval
17         ret i32 %1