[ModRef] Default to ModRef in MemoryEffects ctors (NFC)
authorNikita Popov <npopov@redhat.com>
Thu, 20 Oct 2022 14:40:38 +0000 (16:40 +0200)
committerNikita Popov <npopov@redhat.com>
Thu, 20 Oct 2022 14:42:14 +0000 (16:42 +0200)
commit9cfe8ee2a43577b7c4c2539de78e10e10156ffcb
treeba103cfff60a9c0bb22954022fb636ed73ce149b
parentb1e5e81efda4c020a990dc749ef8bfb8bd4b763c
[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.
llvm/include/llvm/IR/ModRef.h