From 608af302cacd10b2ba4f583459d9bb2c02c6e6a2 Mon Sep 17 00:00:00 2001 From: Ben Shi Date: Thu, 3 Sep 2020 20:01:23 +0800 Subject: [PATCH] [NFC][RISCV] Simplify pass arg of RISCVMergeBaseOffsetOpt Reviewed By: lenary, asb Differential Revision: https://reviews.llvm.org/D87069 --- lib/Target/RISCV/RISCVMergeBaseOffset.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/RISCV/RISCVMergeBaseOffset.cpp b/lib/Target/RISCV/RISCVMergeBaseOffset.cpp index 4c9013aa1e2..6c78c47e855 100644 --- a/lib/Target/RISCV/RISCVMergeBaseOffset.cpp +++ b/lib/Target/RISCV/RISCVMergeBaseOffset.cpp @@ -64,7 +64,7 @@ private: } // end anonymous namespace char RISCVMergeBaseOffsetOpt::ID = 0; -INITIALIZE_PASS(RISCVMergeBaseOffsetOpt, "riscv-merge-base-offset", +INITIALIZE_PASS(RISCVMergeBaseOffsetOpt, DEBUG_TYPE, RISCV_MERGE_BASE_OFFSET_NAME, false, false) // Detect the pattern: