[LLVMdev] Tablegen problem populating TSFlags
Sean Silva
silvas at purdue.edu
Thu Jan 31 20:38:50 PST 2013
On Thu, Jan 31, 2013 at 5:47 PM, Joe Matarazzo <joe.matarazzo at gmail.com> wrote:
> The line marked with *** doesn't evaluate TheInit as a TernOpInit
> correctly. It goes to the Init base class of getFieldInit and returns
> 0.
>
> Do we need to add a getFieldInit method on TernOpInit to evaluate the
> !if() and return the requested field of the result ("Val" in this
> case) ?
That sounds like the right path, although there might be an issue if
the condition of the `!if` still needs to be resolved (not sure if
this is impossible or not).
-- Sean Silva
More information about the llvm-dev
mailing list