From 8733db351a115a6f269e8814df2804f1b2172362 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 5 Mar 2009 19:31:32 +0000 Subject: [PATCH] Make this test more thorough. Not only should there be no %esi, there should be no spilling of anything. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66179 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/lsr-negative-stride.ll | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/test/CodeGen/X86/lsr-negative-stride.ll b/test/CodeGen/X86/lsr-negative-stride.ll index 7e906fc57a2..43b507ba529 100644 --- a/test/CodeGen/X86/lsr-negative-stride.ll +++ b/test/CodeGen/X86/lsr-negative-stride.ll @@ -1,6 +1,8 @@ -; RUN: llvm-as < %s | llc -march=x86 | not grep neg -; RUN: llvm-as < %s | llc -march=x86 | not grep sub.*esp -; RUN: llvm-as < %s | llc -march=x86 | not grep esi +; RUN: llvm-as < %s | llc -march=x86 > %t +; RUN: not grep neg %t +; RUN: not grep sub.*esp %t +; RUN: not grep esi %t +; RUN: not grep push %t ; This corresponds to: ;int t(int a, int b) {