diff options
author | Tobias Grosser <tobias@grosser.es> | 2015-11-12 07:34:09 +0000 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2015-11-12 07:34:09 +0000 |
commit | bc29e0b27c4d674e04d6ca5c1fadd644809b4278 (patch) | |
tree | 58881bce98820ba374f6c0375eced82789a59c59 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
parent | 6400fc146ed143b98543ae6a86796bc5c9eeb9d8 (diff) | |
download | bcm5719-llvm-bc29e0b27c4d674e04d6ca5c1fadd644809b4278.tar.gz bcm5719-llvm-bc29e0b27c4d674e04d6ca5c1fadd644809b4278.zip |
RegionGenerator: Only introduce subregion.ivs for loops fully within a subregion
IVs of loops for which the loop header is in the subregion, but not the entire
loop may be incremented outside of the subregion and can consequently not be
kept private to the subregion. Instead, they need to and are modeled as virtual
loops in the iteration domains. As this is the case, generating new subregion
induction variables for such loops is not needed and indeed wrong as they would
hide the virtual induction variables modeled in the scop.
This fixes a miscompile in MultiSource/Benchmarks/Ptrdist/bc and
MultiSource/Benchmarks/nbench/. Thanks Michael and Johannes for their
investiagations and helpful observations regarding this bug.
llvm-svn: 252860
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions