[LLVMdev] Tablegen problem populating TSFlags

Jakob Stoklund Olesen stoklund at 2pi.dk
Thu Jan 31 09:35:56 PST 2013

On Jan 31, 2013, at 9:27 AM, Sean Silva <silvas at purdue.edu> wrote:

> An extra call to resolveReferences after setting the value in the
> `let` does fix this, but I'm not sure that it is the right fix. The
> attached hackish patch seems to fix up a reduced version of the test
> case you gave here (I haven't run a full battery of tests on it, so it
> might cause other failures).
> Jakob, any idea about what the "right" fix is here?

Sorry, no.

I do recall seeing similar problems in the past where the ternary operators weren't properly evaluated, but left as TernOpInits in the final Records.

I don't know of any use case where that would make sense, particularly since other operators get evaluated. Are they even in use in the tree?


More information about the llvm-dev mailing list