[LLVMdev] Utilizing gperf for TableGen
christopher.lamb at gmail.com
Tue Jan 1 11:40:48 PST 2008
I believe that some of this will be alleviated by switching to a Trie
data structure, though Anton would know for sure.
On Jan 1, 2008, at 3:51 AM, Wilhansen Li wrote:
> The output of TableGen (intrinsics.gen) seems a bit too clunky
> specifically the switching parts (input the string, output the enum).
> Moreover, the code makes MSVC barf due to its nesting limit which even
> applices to if-else statements.
> One one hand, gperf
> (http://www.gnu.org/software/gperf/manual/gperf.html) offers a way to
> map strings to records without much difficulty (and it does its job
> My point is, are there plans to utilize gperf for table generation?
> Life is too short for dial-up.
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev