[all-commits] [llvm/llvm-project] 9d9de5: [LangRef] Add memory attribute
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Oct 21 03:11:43 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9d9de5a5df05df1abbd35351ded9c74cf4fc5ba6
https://github.com/llvm/llvm-project/commit/9d9de5a5df05df1abbd35351ded9c74cf4fc5ba6
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-10-21 (Fri, 21 Oct 2022)
Changed paths:
M llvm/docs/LangRef.rst
Log Message:
-----------
[LangRef] Add memory attribute
This adds the LangRef wording for the memory attribute proposed at
https://discourse.llvm.org/t/rfc-unify-memory-effect-attributes/65579.
The old attributes are not removed from LangRef until the migration
is finished.
Differential Revision: https://reviews.llvm.org/D135597
Commit: e9754f0211076bab34e5a070cb8eb392a21c0540
https://github.com/llvm/llvm-project/commit/e9754f0211076bab34e5a070cb8eb392a21c0540
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-10-21 (Fri, 21 Oct 2022)
Changed paths:
M llvm/include/llvm/AsmParser/LLParser.h
M llvm/include/llvm/AsmParser/LLToken.h
M llvm/include/llvm/Bitcode/LLVMBitCodes.h
M llvm/include/llvm/IR/Attributes.h
M llvm/include/llvm/IR/Attributes.td
M llvm/include/llvm/IR/ModRef.h
M llvm/lib/AsmParser/LLLexer.cpp
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/IR/Attributes.cpp
M llvm/lib/Transforms/Utils/CodeExtractor.cpp
A llvm/test/Assembler/memory-attribute-errors.ll
A llvm/test/Assembler/memory-attribute.ll
Log Message:
-----------
[IR] Add support for memory attribute
This implements IR and bitcode support for the memory attribute,
as specified in https://reviews.llvm.org/D135597.
The new attribute is not used for anything yet (and as such, the
old memory attributes are unaffected).
Differential Revision: https://reviews.llvm.org/D135592
Compare: https://github.com/llvm/llvm-project/compare/39d8597927a5...e9754f021107
More information about the All-commits
mailing list