On May 11, 2012, at 8:57 PM, Sirish Pande wrote: > I would love to have a macro-generated switch statement - but that would > require a target dependent file - which I don't think clang folks would like > in lib/CodeGen. Since most of the architectures are doing the same thing, I > adopted the style. But it's a pain for me as well. The whole switch block is > auto-generated by my other script, and I have to copy/paste. So yes, I would > love to have macro generated switch case. Clang folks, can I have a target > dependent file there?
I have nothing against macro metaprogramming and would much prefer a macro-generated switch over this enormous blob of code. Bob, you had some experience doing this with the Neon intrinsics; is there reusable infrastructure there, or at least useful lessons that apply? John. _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
