[opaque pointer type] Add textual IR support for explicit type parameter to load...
[oota-llvm.git] / test / Transforms / LowerSwitch / 2014-06-11-SwitchDefaultUnreachableOpt.ll
index ecdd767bdeaeb275b3f9f64210d0e104361ebe45..2652a6cc5e090bc903a88306d9917232f2b3dde1 100644 (file)
@@ -21,7 +21,7 @@ define i32 @foo(i32 %a) {
   %1 = alloca i32, align 4
   %2 = alloca i32, align 4
   store i32 %a, i32* %2, align 4
-  %3 = load i32* %2, align 4
+  %3 = load i32, i32* %2, align 4
   switch i32 %3, label %6 [
     i32 0, label %4
     i32 1, label %5
@@ -39,6 +39,6 @@ define i32 @foo(i32 %a) {
   unreachable
 
 ; <label>:7
-  %8 = load i32* %1
+  %8 = load i32, i32* %1
   ret i32 %8
 }