[PATCH][DAG] Fix non-deterministic code generation

Juergen Ributzka juergen at apple.com
Sat Nov 16 21:04:29 PST 2013


Hi @ll,

this patch resets SDNodeOrder in the SelectionDAGBuilder before processing the IR of a new function. This is required to obtain deterministic code generation for a function regardless of its location in the source file.

Cheers,
Juergen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Reset-SDNodeOrder.patch
Type: application/octet-stream
Size: 8898 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131116/8b8283e7/attachment.obj>
-------------- next part --------------





More information about the llvm-commits mailing list