From aaff72bcd89a36fd70ef9abaa7a628b7b56cf3b9 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Wed, 23 Apr 2014 01:09:29 +0000 Subject: [PATCH] Fix test/CodeGen/arm.ll The 'CHECK: add' line was occasionally matching against the filename, breaking the subsequent CHECK-NOT. Also use CHECK-LABEL. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206936 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/ARM/stack-frame.ll | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/CodeGen/ARM/stack-frame.ll b/test/CodeGen/ARM/stack-frame.ll index a419074aa2c..a3b0b66b134 100644 --- a/test/CodeGen/ARM/stack-frame.ll +++ b/test/CodeGen/ARM/stack-frame.ll @@ -1,14 +1,14 @@ -; RUN: llc -mtriple=arm-eabi %s -o - | FileCheck %s +; RUN: llc -mtriple=arm-eabi < %s -o - | FileCheck %s define void @f1() { %c = alloca i8, align 1 ret void } +; CHECK-LABEL: f1: +; CHECK: add define i32 @f2() { ret i32 1 } - -; CHECK: add +; CHECK-LABEL: f2: ; CHECK-NOT: add -