Displaying 4 results from an estimated 4 matches for "ternopinits".
Did you mean:
ternopinit
2013 Jan 31
2
[LLVMdev] Tablegen problem populating TSFlags
...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?
>
> /jakob
>
2011 Jul 16
0
[LLVMdev] TableGen and DenseMap Strangeness
In the midst of making TableGen Inits unique, I've run into some very
odd DenseMap behavior.
I converted the TernOpInit to use a factory method that uses a DenseMap
to unique objects. I have defined a DenseMapInfo for std::string that
uses HashString from StringExtras.h.
const TernOpInit *TernOpInit::get(TernaryOp opc, const Init *lhs,
const Init *mhs,
2013 Jan 31
0
[LLVMdev] Tablegen problem populating TSFlags
...ere (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?
/jakob
2013 Jan 31
2
[LLVMdev] Tablegen problem populating TSFlags
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?
-- Sean Silva