================
@@ -2568,20 +2568,37 @@ bool LLParser::parseAllocKind(AllocFnKind &Kind) {
return false;
}
-static std::optional<MemoryEffects::Location> keywordToLoc(lltok::Kind Tok) {
+static ArrayRef<IRMemLocation> keywordToLoc(lltok::Kind Tok) {
+ using Loc = IRMemLocation;
+
+ static constexpr auto ArgMem[] = {Loc::ArgMem};
----------------
CarolineConcatto wrote:
Sorry, I updated last night and did not manage to check if all the changes were
correct.
I think now it is fine.
https://github.com/llvm/llvm-project/pull/176968
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits