From feb1148ed6e3843bca023d83051004a86175e190 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. llvm-svn: 206936 --- llvm/test/CodeGen/ARM/stack-frame.ll | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/llvm/test/CodeGen/ARM/stack-frame.ll b/llvm/test/CodeGen/ARM/stack-frame.ll index a419074aa2c2..a3b0b66b1340 100644 --- a/llvm/test/CodeGen/ARM/stack-frame.ll +++ b/llvm/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 -