[llvm] r243378 - FileCheck'ify some wc/grep based tests; NFCI.

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 10 17:21:30 PDT 2015


On Mon, Aug 10, 2015 at 4:45 PM, Justin Bogner <mail at justinbogner.com> wrote:
> Sanjoy Das <sanjoy at playingwithpointers.com> writes:
>> Author: sanjoy
>> Date: Mon Jul 27 22:50:09 2015
>> New Revision: 243378
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=243378&view=rev
>> Log:
>> FileCheck'ify some wc/grep based tests; NFCI.
>>
>> Modified:
>>     llvm/trunk/test/Transforms/BranchFolding/2007-10-19-InlineAsmDirectives.ll
>>     llvm/trunk/test/Transforms/IndVarSimplify/tripcount_infinite.ll
>>
>> Modified:
>> llvm/trunk/test/Transforms/BranchFolding/2007-10-19-InlineAsmDirectives.ll
>> URL:
>> http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/BranchFolding/2007-10-19-InlineAsmDirectives.ll?rev=243378&r1=243377&r2=243378&view=diff
>> ==============================================================================
>> --- llvm/trunk/test/Transforms/BranchFolding/2007-10-19-InlineAsmDirectives.ll (original)
>> +++ llvm/trunk/test/Transforms/BranchFolding/2007-10-19-InlineAsmDirectives.ll Mon Jul 27 22:50:09 2015
>> @@ -1,7 +1,10 @@
>> -; RUN: opt < %s -O3 -o - | llc -no-integrated-as -o - | grep bork_directive | wc -l | grep 2
>> +; RUN: opt < %s -O3 | llc -no-integrated-as | FileCheck %s
>>
>>  ;; We don't want branch folding to fold asm directives.
>>
>> +; CHECK: bork_directive
>> +; CHECK: bork_directive
>
> I guess this needs a "CHECK-NOT: bork_directive" to be completely
> equivalent to the wc version.

Fixed in r244543.


More information about the llvm-commits mailing list