OSDN Git Service

[AVR] Remove the select-mbb-placement-bug.ll test
authorDylan McKay <me@dylanmckay.io>
Tue, 14 Nov 2017 04:32:49 +0000 (04:32 +0000)
committerDylan McKay <me@dylanmckay.io>
Tue, 14 Nov 2017 04:32:49 +0000 (04:32 +0000)
This test was originally added when an old bug was fixed that caused
broken iterator code to break basic block placement.

The issue has an extremely low chance of every being a problem again.

This specific test is very flaky and fails often due to upstream
changes.

I have removed this test because it negates more value than it returns.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318134 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/AVR/select-mbb-placement-bug.ll [deleted file]

diff --git a/test/CodeGen/AVR/select-mbb-placement-bug.ll b/test/CodeGen/AVR/select-mbb-placement-bug.ll
deleted file mode 100644 (file)
index aca9502..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-; RUN: llc -mcpu=atmega328p < %s -march=avr | FileCheck %s
-
-; CHECK-LABEL: loopy
-define internal fastcc void @loopy() {
-
-; In this case, when we expand `Select8`/`Select16`, we should be
-; replacing the existing MBB instead of adding a new one.
-;
-; https://github.com/avr-rust/rust/issues/49
-
-; CHECK: LBB0_{{[0-9]+}}:
-; CHECK: LBB0_{{[0-9]+}}:
-; CHECK-NOT: LBB0_{{[0-9]+}}:
-start:
-  br label %bb7.preheader
-
-bb7.preheader:                                    ; preds = %bb10, %start
-  %i = phi i8 [ 0, %start ], [ %j, %bb10 ]
-  %j = phi i8 [ 1, %start ], [ %next, %bb10 ]
-  br label %bb10
-
-bb4:                                              ; preds = %bb10
-  ret void
-
-bb10:                                             ; preds = %bb7.preheader
-  tail call fastcc void @observe(i8 %i, i8 1)
-  %0 = icmp ult i8 %j, 20
-  %1 = zext i1 %0 to i8
-  %next = add i8 %j, %1
-  br i1 %0, label %bb7.preheader, label %bb4
-
-}
-
-declare void @observe(i8, i8);
-