From 0866a4eb48370f3cd7be64bfe1de3891b2785c04 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Fri, 6 May 2016 18:23:14 +0000 Subject: [PATCH] The associated PR for this test was PR27135 not PR27132. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268772 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/switch.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/CodeGen/X86/switch.ll b/test/CodeGen/X86/switch.ll index 2506a075106..5d52f95e71c 100644 --- a/test/CodeGen/X86/switch.ll +++ b/test/CodeGen/X86/switch.ll @@ -750,7 +750,7 @@ return: ret void } -define i32 @pr27132(i32 %i) { +define i32 @pr27135(i32 %i) { entry: br i1 undef, label %sw, label %end sw: @@ -770,7 +770,7 @@ end: %p = phi i32 [ 1, %sw ], [ 0, %entry ] ret i32 %p -; CHECK-LABEL: pr27132: +; CHECK-LABEL: pr27135: ; The switch is lowered with bit tests. Since the case range is contiguous, the ; second bit test is redundant and can be skipped. Check that we don't update ; the phi node with an incoming value from the MBB of the skipped bit test -- 2.50.1