[all-commits] [llvm/llvm-project] 9cfe8e: [ModRef] Default to ModRef in MemoryEffects ctors ...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Thu Oct 20 07:42:30 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9cfe8ee2a43577b7c4c2539de78e10e10156ffcb
https://github.com/llvm/llvm-project/commit/9cfe8ee2a43577b7c4c2539de78e10e10156ffcb
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-10-20 (Thu, 20 Oct 2022)
Changed paths:
M llvm/include/llvm/IR/ModRef.h
Log Message:
-----------
[ModRef] Default to ModRef in MemoryEffects ctors (NFC)
Allow writing something like MemoryEffects::argMemOnly() implying
MemoryEffects::argMemOnly(ModRefInfo::ModRef). Having to write this
out is a bit of an annoying than porting code using the existing
attributes in D135780.
More information about the All-commits
mailing list