diff options
Diffstat (limited to 'test/Transforms/LowerSwitch/2014-06-11-SwitchDefaultUnreachableOpt.ll')
-rw-r--r-- | test/Transforms/LowerSwitch/2014-06-11-SwitchDefaultUnreachableOpt.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/LowerSwitch/2014-06-11-SwitchDefaultUnreachableOpt.ll b/test/Transforms/LowerSwitch/2014-06-11-SwitchDefaultUnreachableOpt.ll index ecdd767..2652a6c 100644 --- a/test/Transforms/LowerSwitch/2014-06-11-SwitchDefaultUnreachableOpt.ll +++ b/test/Transforms/LowerSwitch/2014-06-11-SwitchDefaultUnreachableOpt.ll @@ -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 } |