Strength test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61755 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2009-01-05 21:27:59 +00:00
parent 27a53009ef
commit e6a1fe5607

View File

@ -1,4 +1,6 @@
// RUN: %llvmgcc %s -S -emit-llvm -O2 -o - | grep {call i32 .*printf.*argc} | count 3
// RUN: %llvmgcc %s -S -emit-llvm -O2 -o %t.s
// RUN: grep {call i32 .*printf.*argc} %t.s | count 3
// RUN: not grep __block_holder_tmp %t.s
// rdar://5865221
// All of these should be inlined equivalently into a single printf call.