[LLVMdev] Regular Expressions

Chris Lattner clattner at apple.com
Thu Jun 18 10:32:06 PDT 2009


On Jun 18, 2009, at 9:42 AM, David Greene wrote:

> On Wednesday 17 June 2009 01:06, Chris Lattner wrote:
>
>> I think I understand what you're saying with "munging strings is
>> easier".  However, I still don't understand why you can't pass down
>> some 'my_f32' instead of '"f32"' and have the defm pull out the right
>> fields from my_f32.  The AVX type would be v8f32, the SSE type would
>> be v4f32, etc.
>>
>> More generally, I don't see how strings can be better in any
>> circumstance: in any case where you pass down a string, you can pass
>> down a def that has fields relating to how you would otherwise munge
>> the string, no?
>
> Ok, I've been refactoring things here a bit and I think what you  
> propose
> will work.  I'll run with it and see if I get myself into any trouble.
>
> Thanks for pushing on this.  I think things'll come out better because
> of it.

Thank you Dave, I really appreciate your work on this!

-Chris




More information about the llvm-dev mailing list