[all-commits] [llvm/llvm-project] b128e0: [AA] Make ModRefInfo a bitmask enum (NFC)
Nikita Popov via All-commits
all-commits at lists.llvm.org
Wed Aug 3 01:06:11 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b128e057c191a441e3778ffc872ffca943b2e5b1
https://github.com/llvm/llvm-project/commit/b128e057c191a441e3778ffc872ffca943b2e5b1
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-08-03 (Wed, 03 Aug 2022)
Changed paths:
M llvm/include/llvm/Analysis/AliasAnalysis.h
M llvm/lib/Analysis/AliasAnalysis.cpp
M llvm/lib/Analysis/AliasSetTracker.cpp
M llvm/lib/Analysis/BasicAliasAnalysis.cpp
M llvm/lib/Analysis/GlobalsModRef.cpp
M llvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
M llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
Log Message:
-----------
[AA] Make ModRefInfo a bitmask enum (NFC)
Mark ModRefInfo as a bitmask enum, which allows using normal
& and | operators on it. This supersedes various functions like
unionModRef() and intersectModRef(). I think this makes the code
cleaner than going through helper functions...
Differential Revision: https://reviews.llvm.org/D130870
More information about the All-commits
mailing list