[LLVMdev] Enhancing TableGen
David A. Greene
greened at obbligato.org
Fri Oct 7 15:47:45 PDT 2011
greened at obbligato.org (David A. Greene) writes:
> To me, this:
>
> !strconcat(opcstr, "$r.f32\t$d, $a, $b"), []>;
> !strconcat(opcstr, "$r.f32\t$d, $a, $b"), []>;
> !strconcat(opcstr, "$r.f64\t$d, $a, $b"), []>;
> !strconcat(opcstr, "$r.f64\t$d, $a, $b"), []>;
>
> is dangerously redundant. It's the patterns that are hardest to write
> so I'd rather get them right once or a few times rather than get them
> wrong in lots of places and have to go hunt and fix them.
Of course, I meant to include the pattern dags as well as the asm
specifications here. The same thing can be done with patterns as
I showed with the asm specs.
-Dave
More information about the llvm-dev
mailing list