diff options
Diffstat (limited to 'test/CodeGen/X86/2012-10-18-crash-dagco.ll')
-rw-r--r-- | test/CodeGen/X86/2012-10-18-crash-dagco.ll | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/CodeGen/X86/2012-10-18-crash-dagco.ll b/test/CodeGen/X86/2012-10-18-crash-dagco.ll index 5b98624..fb29241 100644 --- a/test/CodeGen/X86/2012-10-18-crash-dagco.ll +++ b/test/CodeGen/X86/2012-10-18-crash-dagco.ll @@ -22,23 +22,23 @@ bb27: ; preds = %bb48, %bb ] bb28: ; preds = %bb27, %bb26 - %tmp = load i32* null + %tmp = load i32, i32* null %tmp29 = trunc i32 %tmp to i8 store i8* undef, i8** undef - %tmp30 = load i32* null + %tmp30 = load i32, i32* null %tmp31 = icmp eq i32 %tmp30, 0 - %tmp32 = getelementptr inbounds [411 x i8]* @global, i32 0, i32 undef - %tmp33 = load i8* %tmp32, align 1 - %tmp34 = getelementptr inbounds [411 x i8]* @global, i32 0, i32 0 - %tmp35 = load i8* %tmp34, align 1 + %tmp32 = getelementptr inbounds [411 x i8], [411 x i8]* @global, i32 0, i32 undef + %tmp33 = load i8, i8* %tmp32, align 1 + %tmp34 = getelementptr inbounds [411 x i8], [411 x i8]* @global, i32 0, i32 0 + %tmp35 = load i8, i8* %tmp34, align 1 %tmp36 = select i1 %tmp31, i8 %tmp35, i8 %tmp33 %tmp37 = select i1 undef, i8 %tmp29, i8 %tmp36 %tmp38 = zext i8 %tmp37 to i32 %tmp39 = select i1 undef, i32 0, i32 %tmp38 - %tmp40 = getelementptr inbounds i32* null, i32 %tmp39 - %tmp41 = load i32* %tmp40, align 4 - %tmp42 = load i32* undef, align 4 - %tmp43 = load i32* undef + %tmp40 = getelementptr inbounds i32, i32* null, i32 %tmp39 + %tmp41 = load i32, i32* %tmp40, align 4 + %tmp42 = load i32, i32* undef, align 4 + %tmp43 = load i32, i32* undef %tmp44 = xor i32 %tmp42, %tmp43 %tmp45 = lshr i32 %tmp44, 8 %tmp46 = lshr i32 %tmp44, 7 |