[LLVMdev] Regular Expressions

David Greene dag at cray.com
Thu Jun 18 09:42:46 PDT 2009


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.

                             -Dave



More information about the llvm-dev mailing list