search for: sortsucomp

Displaying 3 results from an estimated 3 matches for "sortsucomp".

2012 Oct 17
1
[LLVMdev] MI DAG constructor indeterminism
...onAliasMemUses; std::set<SUnit*> RejectMemNodes; .since all of them at different point of time are traversed begin to end, and as such are affected by pointer value. The case of "std::set<SUnit*> RejectMemNodes; " is easy. Something like this will work: struct SortSUComp { bool operator()(const SUnit *left, const SUnit *right) const { return left->NodeNum < right->NodeNum; } }; typedef std::set<SUnit*, SortSUComp> SortedSUSet; SortedSUSet RejectMemNodes; But in case of Value * as a key - is there any unique ID that is...
2012 Oct 17
0
[LLVMdev] MI DAG constructor indeterminism
On Oct 16, 2012, at 1:43 PM, Sergei Larin <slarin at codeaurora.org> wrote: > > Andy, > > This is less of a question but rather a status quo verification… > > We currently have certain indeterminism in MI scheduler DAG construction – it is introduces by the use of std::map/std::set during edge traversal. > Result – a random variation in SUnit edge order
2012 Oct 16
2
[LLVMdev] MI DAG constructor indeterminism
Andy, This is less of a question but rather a status quo verification. We currently have certain indeterminism in MI scheduler DAG construction - it is introduces by the use of std::map/std::set during edge traversal. Result - a random variation in SUnit edge order (which will remain fixed thereafter). Logically, it is the same DAG, but topologically it is a slightly different one,