[all-commits] [llvm/llvm-project] 55fe7b: Improve LegacyPassManager API to correctly report ...
serge-sans-paille via All-commits
all-commits at lists.llvm.org
Fri Jun 26 05:21:30 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 55fe7b79bb7fab49af3720840224c0720bdb03c6
https://github.com/llvm/llvm-project/commit/55fe7b79bb7fab49af3720840224c0720bdb03c6
Author: serge-sans-paille <sguelton at redhat.com>
Date: 2020-06-26 (Fri, 26 Jun 2020)
Changed paths:
M llvm/include/llvm/IR/LegacyPassManagers.h
M llvm/include/llvm/Pass.h
M llvm/include/llvm/PassAnalysisSupport.h
M llvm/lib/IR/LegacyPassManager.cpp
Log Message:
-----------
Improve LegacyPassManager API to correctly report modified status
When calling on-the-fly passes from the legacy pass manager, the modification
status is not reported, which is a problem in case we depend on an acutal
transformation pass, and not only analyse.
Update the Legacy PM API to optionally report the changed status, assert if a
change is detected but this change is lost.
Related to https://reviews.llvm.org/D80916
Differential Revision: https://reviews.llvm.org/D81236
More information about the All-commits
mailing list