[PATCH] D11577: Reassociate: Implement isUnmovableInstruction() without a hardcoded list
Matthias Braun
matze at braunis.de
Wed Jul 29 15:38:40 PDT 2015
MatzeB added a comment.
My previous comment was probably worded to strongly. What I meant was that a function name of "ControlDependent" or "DataDependent" would have been too broad. I just realize that your comment was probably about my "of course the global state is *also* control dependent" remark which I admit is confusing and only makes sense if you have things like the value state dependence graphs or program expression graphs in mind where all control dependences usually manifest themselfes as data dependences on the memory values.
I was going for the term state because we do not just capture the contents of the computer memory but also things like input/output or program abortion because of undefined behaviour. Anyway I'm completely fine with calling this memory dependence which is by far the more popular term.
Repository:
rL LLVM
http://reviews.llvm.org/D11577
More information about the llvm-commits
mailing list