[llvm-commits] [llvm] r78604 - in /llvm/trunk: lib/Target/ARM/ARMInstrFormats.td lib/Target/ARM/ARMInstrNEON.td lib/Target/ARM/ARMInstrVFP.td test/CodeGen/ARM/fsitos.ll test/CodeGen/ARM/ftosizs.ll test/CodeGen/ARM/ftouizs.ll test/CodeGen/ARM/fuitos.ll

Chris Lattner clattner at apple.com
Tue Aug 11 08:58:42 PDT 2009


On Aug 10, 2009, at 4:09 PM, Mike Stump wrote:

> On Aug 10, 2009, at 3:35 PM, David Goodwin wrote:
>> I can, but then (unless FileCheck has a feature I don't know about)
>> the tests are not checking what I want them to check. FileCheck
>> doesn't have regex and I don't want to specify an exact register
>> number
>
> So, imagine we output:
>
> mov 1,%r1
> mov 2,%r2
>
> but we want to check this, but we don't care about register
> allocations...  Suppose we ran
>
>   sed 's/%r1/%r/; s/%r2/%r/'
>
> in the pipeline before we pass that off to FileCheck...
>
> We could then check for:
>
> mov 1,%r
> mov 2,%r
>
> and not have to worry about register allocations...  Not perfect, but
> better than each of the alternatives.

Gross.  I'd rather just implement regex support for filecheck.  It is  
still on my todo list...

-Chris



More information about the llvm-commits mailing list