[llvm] r206936 - Fix test/CodeGen/arm.ll
Reid Kleckner
reid at kleckner.net
Tue Apr 22 18:09:30 PDT 2014
Author: rnk
Date: Tue Apr 22 20:09:29 2014
New Revision: 206936
URL: http://llvm.org/viewvc/llvm-project?rev=206936&view=rev
Log:
Fix test/CodeGen/arm.ll
The 'CHECK: add' line was occasionally matching against the filename,
breaking the subsequent CHECK-NOT. Also use CHECK-LABEL.
Modified:
llvm/trunk/test/CodeGen/ARM/stack-frame.ll
Modified: llvm/trunk/test/CodeGen/ARM/stack-frame.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/stack-frame.ll?rev=206936&r1=206935&r2=206936&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/stack-frame.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/stack-frame.ll Tue Apr 22 20:09:29 2014
@@ -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
-
More information about the llvm-commits
mailing list