aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorMichael Kruse <llvm-project@meinersbur.de>2020-07-10 16:05:42 -0500
committerMichael Kruse <llvm-project@meinersbur.de>2020-07-10 16:42:03 -0500
commit32bf46842025b740de870dbcd446e4b0f203c9aa (patch)
tree6617acdd5c288b2437bb9d067a557fe07a9acdaa /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent1d68a780b34e1f18f865d0754fce6c6177dc5d21 (diff)
downloadllvm-32bf46842025b740de870dbcd446e4b0f203c9aa.zip
llvm-32bf46842025b740de870dbcd446e4b0f203c9aa.tar.gz
llvm-32bf46842025b740de870dbcd446e4b0f203c9aa.tar.bz2
[Polly] Fix -polly-opt-isl -analyze
The member LastSchedule was never set, such that printScop would always print "n/a" instead of the last schedule. To ensure that the isl_ctx lives as least as long as the stored schedule, also store a shared_ptr. Also set the schedule tree output style to ISL_YAML_STYLE_BLOCK to avoid printing everything on a single line. `opt -polly-opt-isl -analyze` will be used in the next commit.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions