[all-commits] [llvm/llvm-project] c89dff: [mlir][NFC] Split the non-templated bits out of IR...
River Riddle via All-commits
all-commits at lists.llvm.org
Wed Jun 2 12:55:07 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c89dff5855bb32d47751cce087537c2b12a90f1b
https://github.com/llvm/llvm-project/commit/c89dff5855bb32d47751cce087537c2b12a90f1b
Author: River Riddle <riddleriver at gmail.com>
Date: 2021-06-02 (Wed, 02 Jun 2021)
Changed paths:
M mlir/include/mlir/IR/BlockSupport.h
M mlir/include/mlir/IR/UseDefLists.h
M mlir/include/mlir/IR/Value.h
M mlir/lib/IR/Value.cpp
Log Message:
-----------
[mlir][NFC] Split the non-templated bits out of IROperand into a base class
This removes the need to define the derived Operand class before the derived
Value class. The major benefit of this refactoring is that we no longer need
the OpaqueValue class, as OpOperand can now be defined after Value. As part of
this refactoring the BlockOperand and OpOperand classes are moved out of
UseDefLists.h and to more suitable locations in BlockSupport and Value. After
this change, UseDefLists.h is almost entirely composed of generic use def utilities.
Differential Revision: https://reviews.llvm.org/D103353
More information about the All-commits
mailing list