[all-commits] [llvm/llvm-project] c5e687: [Attributor] Guarantee getAAFor not to update AA i...
Shinji Okumura via All-commits
all-commits at lists.llvm.org
Thu Aug 27 12:09:58 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: c5e6872ec6e5269a6d92098765eec266ed4ce4ae
https://github.com/llvm/llvm-project/commit/c5e6872ec6e5269a6d92098765eec266ed4ce4ae
Author: Shinji Okumura <okuraofvegetable at gmail.com>
Date: 2020-08-28 (Fri, 28 Aug 2020)
Changed paths:
M llvm/include/llvm/Transforms/IPO/Attributor.h
M llvm/lib/Transforms/IPO/Attributor.cpp
Log Message:
-----------
[Attributor] Guarantee getAAFor not to update AA in the manifestation stage
If we query an AA with `Attributor::getAAFor` in `AbstractAttribute::manifest`, the AA may be updated.
This patch makes use of the phase flag in Attributor, and handle `getAAFor` behavior according to the flag.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D86635
More information about the All-commits
mailing list