| Dan Gohman | 4050339 | 2009-09-08 23:54:48 +0000 | [diff] [blame^] | 1 | ; RUN: llc < %s -mtriple=x86_64-apple-darwin -relocation-model=static | not grep lea |
| 2 | ; RUN: llc < %s -mtriple=x86_64-pc-linux-gnu -relocation-model=static | not grep lea | ||||
| Evan Cheng | 448641d | 2009-06-02 20:09:31 +0000 | [diff] [blame] | 3 | |
| 4 | @v = external global i32, align 8 | ||||
| 5 | @v_addr = external global i32*, align 8 | ||||
| 6 | |||||
| 7 | define void @t() nounwind optsize { | ||||
| 8 | store i32* @v, i32** @v_addr, align 8 | ||||
| 9 | unreachable | ||||
| 10 | } | ||||