aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WasmObjectFile.cpp
diff options
context:
space:
mode:
authorMichael Kruse <llvm@meinersbur.de>2018-01-23 23:56:36 +0000
committerMichael Kruse <llvm@meinersbur.de>2018-01-23 23:56:36 +0000
commita230f22f4bc6a120dab456d9cadbde55a67de9f4 (patch)
tree2e507616726ccdf9757b2e91220307aaaf0540f6 /llvm/lib/Object/WasmObjectFile.cpp
parent1ed2bc526691237ea7a6e2796b25c5eb46cde05e (diff)
downloadllvm-a230f22f4bc6a120dab456d9cadbde55a67de9f4.zip
llvm-a230f22f4bc6a120dab456d9cadbde55a67de9f4.tar.gz
llvm-a230f22f4bc6a120dab456d9cadbde55a67de9f4.tar.bz2
[ScopBuilder] Prefer PHI Write accesses in the statement the incoming value is defined.
Theoretically, a PHI write can be added to any statement that represents the incoming basic block. We previously always chose the last because the incoming value's definition is guaranteed to be defined. With this patch the PHI write is added to the statement that defines the incoming value. It avoids the requirement for a scalar dependency between the defining statement and the statement containing the write. As such the logic for -polly-stmt-granularity=scalar-indep that ensures that there is such scalar dependencies can be removed. Differential Revision: https://reviews.llvm.org/D42147 llvm-svn: 323284
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions