[all-commits] [llvm/llvm-project] 7975b8: [IR] Merge metadata manipulation code into Value
Serge Pavlov via All-commits
all-commits at lists.llvm.org
Thu Oct 22 21:10:44 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 7975b8c38da2f46f8d88c14d24259af28805dbf3
https://github.com/llvm/llvm-project/commit/7975b8c38da2f46f8d88c14d24259af28805dbf3
Author: Serge Pavlov <sepavloff at gmail.com>
Date: 2020-10-23 (Fri, 23 Oct 2020)
Changed paths:
M llvm/include/llvm/IR/GlobalObject.h
M llvm/include/llvm/IR/Instruction.h
M llvm/include/llvm/IR/Value.h
M llvm/lib/IR/Core.cpp
M llvm/lib/IR/Instruction.cpp
M llvm/lib/IR/LLVMContextImpl.cpp
M llvm/lib/IR/LLVMContextImpl.h
M llvm/lib/IR/Metadata.cpp
M llvm/lib/IR/Value.cpp
Log Message:
-----------
[IR] Merge metadata manipulation code into Value
Now there are two main classes in Value hierarchy, which support metadata,
these are Instruction and GlobalObject. They implement different APIs for
metadata manipulation, which however overlap. This change moves metadata
manipulation code into Value, so descendant classes can use this code for
their operations on metadata.
No functional changes intended.
Differential Revision: https://reviews.llvm.org/D67626
More information about the All-commits
mailing list