mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-28 22:29:56 +00:00
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
15 lines
213 B
LLVM
15 lines
213 B
LLVM
; 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-LABEL: f2:
|
|
; CHECK-NOT: add
|