Fix PPCMaterializeInt to check the size of the integer based on the
[oota-llvm.git] / test / CodeGen / PowerPC / 2006-08-15-SelectionCrash.ll
index cb76b5c70cf0188e7204ced558f4d1b475fdd5bd..c63fd9ae17006285afa83f05ed71da1775803ed4 100644 (file)
@@ -5,7 +5,7 @@
 
 define fastcc void @immed_double_const(i32 %i0, i32 %i1) {
 entry:
-       %tmp1 = load i32* null          ; <i32> [#uses=1]
+       %tmp1 = load i32, i32* null             ; <i32> [#uses=1]
        switch i32 %tmp1, label %bb103 [
                 i32 1, label %bb
                 i32 3, label %bb