diff options
author | Shao-Ce SUN <shaoce@nj.iscas.ac.cn> | 2022-02-16 11:57:49 +0800 |
---|---|---|
committer | Shao-Ce SUN <shaoce@nj.iscas.ac.cn> | 2022-02-16 11:57:49 +0800 |
commit | 9cc49c1951dcc4db594bf1f90755e16f89efd1ca (patch) | |
tree | e54e6303fd55033aded99c1fee9d8cf83d391afb /llvm/tools/llvm-mca | |
parent | fe25c06cc5bdc2ef9427309f8ec1434aad69dc7a (diff) | |
download | llvm-9cc49c1951dcc4db594bf1f90755e16f89efd1ca.zip llvm-9cc49c1951dcc4db594bf1f90755e16f89efd1ca.tar.gz llvm-9cc49c1951dcc4db594bf1f90755e16f89efd1ca.tar.bz2 |
Revert "[NFC][MC] remove unused argument `MCRegisterInfo` in `MCCodeEmitter`"
This reverts commit fe25c06cc5bdc2ef9427309f8ec1434aad69dc7a.
Diffstat (limited to 'llvm/tools/llvm-mca')
-rw-r--r-- | llvm/tools/llvm-mca/llvm-mca.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-mca/llvm-mca.cpp b/llvm/tools/llvm-mca/llvm-mca.cpp index d990612..1826491 100644 --- a/llvm/tools/llvm-mca/llvm-mca.cpp +++ b/llvm/tools/llvm-mca/llvm-mca.cpp @@ -479,7 +479,7 @@ int main(int argc, char **argv) { unsigned RegionIdx = 0; std::unique_ptr<MCCodeEmitter> MCE( - TheTarget->createMCCodeEmitter(*MCII, Ctx)); + TheTarget->createMCCodeEmitter(*MCII, *MRI, Ctx)); assert(MCE && "Unable to create code emitter!"); std::unique_ptr<MCAsmBackend> MAB(TheTarget->createMCAsmBackend( |