Add a triple to switch.ll test.
[oota-llvm.git] / test / CodeGen / X86 / 2010-01-13-OptExtBug.ll
index 106848184d323de88c3be67c661bb378b1113a97..3ecf845f09335f90f680ab7a29573b36852ed27f 100644 (file)
@@ -8,14 +8,14 @@ entry:
   %call = tail call i8* @_Z15uprv_malloc_4_2v()
   %0 = bitcast i8* %call to double*
   %tmp = getelementptr inbounds %class.OlsonTimeZone, %class.OlsonTimeZone* %this, i32 0, i32 3
-  %tmp2 = load i16* %tmp
+  %tmp2 = load i16, i16* %tmp
   %tmp525 = getelementptr inbounds %class.OlsonTimeZone, %class.OlsonTimeZone* %this, i32 0, i32 0
-  %tmp626 = load i16* %tmp525
+  %tmp626 = load i16, i16* %tmp525
   %cmp27 = icmp slt i16 %tmp2, %tmp626
   br i1 %cmp27, label %bb.nph, label %for.end
 
 for.cond:
-  %tmp6 = load i16* %tmp5
+  %tmp6 = load i16, i16* %tmp5
   %cmp = icmp slt i16 %inc, %tmp6
   %indvar.next = add i32 %indvar, 1
   br i1 %cmp, label %for.body, label %for.end
@@ -34,9 +34,9 @@ for.body:
   %tmp30 = add i32 %indvar, %tmp29
   %tmp33 = add i32 %indvar, %tmp32
   %inc = trunc i32 %tmp33 to i16
-  %tmp11 = load i8** %tmp10
+  %tmp11 = load i8*, i8** %tmp10
   %arrayidx = getelementptr i8, i8* %tmp11, i32 %tmp30
-  %tmp12 = load i8* %arrayidx
+  %tmp12 = load i8, i8* %arrayidx
   br label %for.cond
 
 for.end: