diff options
author | Michael Kruse <llvm-project@meinersbur.de> | 2020-07-10 16:05:42 -0500 |
---|---|---|
committer | Michael Kruse <llvm-project@meinersbur.de> | 2020-07-10 16:42:03 -0500 |
commit | 32bf46842025b740de870dbcd446e4b0f203c9aa (patch) | |
tree | 6617acdd5c288b2437bb9d067a557fe07a9acdaa /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 1d68a780b34e1f18f865d0754fce6c6177dc5d21 (diff) | |
download | llvm-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