From ce3bbe515b30b8d2c8ab6efd72e411ce6921066a Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Tue, 10 Feb 2009 08:30:11 +0000 Subject: Fix PR3457: Ignore control successors when looking for closest scheduled successor. A control successor doesn't read result(s) produced by the scheduling unit being evaluated. llvm-svn: 64210 --- llvm/test/CodeGen/ARM/memcpy-inline.ll | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'llvm/test/CodeGen/ARM/memcpy-inline.ll') diff --git a/llvm/test/CodeGen/ARM/memcpy-inline.ll b/llvm/test/CodeGen/ARM/memcpy-inline.ll index 665d3acd89d..5d1beea5fc2 100644 --- a/llvm/test/CodeGen/ARM/memcpy-inline.ll +++ b/llvm/test/CodeGen/ARM/memcpy-inline.ll @@ -1,6 +1,9 @@ -; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin | grep ldmia ; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin | grep ldrb ; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin | grep ldrh +; This used to look for ldmia. But it's no longer lucky enough to +; have the load / store instructions lined up just right after +; scheduler change for pr3457. We'll look for a robust solution +; later. %struct.x = type { i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8 } @src = external global %struct.x -- cgit v1.2.3