1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

FileCheck-ize another codegen test.

llvm-svn: 134334
This commit is contained in:
Chandler Carruth 2011-07-02 20:42:22 +00:00
parent 4c7e28777b
commit d98a57cc5a

View File

@ -1,4 +1,4 @@
; RUN: llc -march=x86-64 < %s | fgrep {addq $-16,} | count 1
; RUN: llc -march=x86-64 < %s | FileCheck %s
; rdar://9081094
; LSR shouldn't create lots of redundant address computations.
@ -10,6 +10,12 @@
@isa = external hidden unnamed_addr constant [13 x %1], align 32
define void @main_bb.i() nounwind {
; CHECK: main_bb.i:
; CHECK-NOT: ret
; CHECK: addq $-16,
; CHECK-NOT: ret
; CHECK: ret
bb:
br label %bb38