| ; This test makes sure that these instructions are properly constant propagated.
|
| ; RUN: opt < %s -ipsccp -S | not grep load
|
| ; RUN: opt < %s -ipsccp -S | not grep fdiv
|
| @Y = constant [2 x { i212, float }] [ { i212, float } { i212 12, float 1.0 },
|
| { i212, float } { i212 37, float 0x3FF3B2FEC0000000 } ]
|
| define internal float @test2() {
|
| %A = getelementptr [2 x { i212, float}]* @Y, i32 0, i32 1, i32 1
|
| define internal i212 @test3() {
|
| %A = getelementptr [2 x { i212, float}]* @Y, i32 0, i32 0, i32 0
|
| %C = mul i212 %B, -1234567
|
| %D = sitofp i212 %C to float
|