[llvm-commits] [llvm] r67849 - /llvm/trunk/test/CodeGen/PowerPC/int-fp-conv-0.ll

Dan Gohman gohman at apple.com
Mon Mar 30 07:55:08 PDT 2009


On Mar 28, 2009, at 3:07 AM, Bill Wendling wrote:

> On Mar 27, 2009, at 9:17 AM, Dan Gohman wrote:
>
>> Author: djg
>> Date: Fri Mar 27 11:17:22 2009
>> New Revision: 67849
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=67849&view=rev
>> Log:
>> Fix this test so that it doesn't spuriously fail due to some
>> unrelated debugging output happening to contain the string "store".
>>
>> Modified:
>>   llvm/trunk/test/CodeGen/PowerPC/int-fp-conv-0.ll
>>
>> Modified: llvm/trunk/test/CodeGen/PowerPC/int-fp-conv-0.ll
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/int-fp-conv-0.ll?rev=67849&r1=67848&r2=67849&view=diff
>>
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =
>> =====================================================================
>> --- llvm/trunk/test/CodeGen/PowerPC/int-fp-conv-0.ll (original)
>> +++ llvm/trunk/test/CodeGen/PowerPC/int-fp-conv-0.ll Fri Mar 27
>> 11:17:22 2009
>> @@ -1,4 +1,4 @@
>> -; RUN: llvm-as < %s | llc -march=ppc64 -debug |& not grep store
>> +; RUN: llvm-as < %s | llc -march=ppc64 -debug |& not grep {= store}
>
> I thought that "store" instructions were never assigned to a  
> variable...

This test is grepping through the -debug output of llc, and the stores  
its
looking for do happen to be printed with =.

Grepping through -debug output isn't very nice in any case, but at the
moment there aren't any better ways to express this specific test.

Dan




More information about the llvm-commits mailing list