Document determinism in shortOutIndirections
authorBartosz Nitka <niteria@gmail.com>
Tue, 17 May 2016 09:46:30 +0000 (02:46 -0700)
committerBartosz Nitka <niteria@gmail.com>
Tue, 17 May 2016 10:40:58 +0000 (03:40 -0700)
commitdc94914eb0da985a2f006e2bd390fa1fdbafcc33
treea12af48f66de26433c2446bbffa7088f3a1fe3a6
parent770d7085d6e3f3e74e3ffe318aeaf135cf3aea72
Document determinism in shortOutIndirections

varEnvElts didn't introduce nondeterminism here. This makes it
obvious that it could and explains why it doesn't.

Test Plan: ./validate

Reviewers: bgamari, simonmar, austin, simonpj

Reviewed By: simonpj

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2228

GHC Trac Issues: #4012
compiler/simplCore/SimplCore.hs