[llvm] 389cf0a - [LoongArch] Change the name of LoongArchPreRAExpandPseudo pass

Weining Lu via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 4 02:51:12 PDT 2022


Author: wanglei
Date: 2022-11-04T17:50:33+08:00
New Revision: 389cf0adcb0ba2df347e49dcf15f993a4593bdc6

URL: https://github.com/llvm/llvm-project/commit/389cf0adcb0ba2df347e49dcf15f993a4593bdc6
DIFF: https://github.com/llvm/llvm-project/commit/389cf0adcb0ba2df347e49dcf15f993a4593bdc6.diff

LOG: [LoongArch] Change the name of LoongArchPreRAExpandPseudo pass

By convention, pass names use lowercase letters.
LoongArch-prera-expand-pseudo -> loongarch-prera-expand-pseudo.

Reviewed By: SixWeining

Differential Revision: https://reviews.llvm.org/D137402

Added: 
    

Modified: 
    llvm/lib/Target/LoongArch/LoongArchExpandPseudoInsts.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/LoongArch/LoongArchExpandPseudoInsts.cpp b/llvm/lib/Target/LoongArch/LoongArchExpandPseudoInsts.cpp
index 1961444be8cfb..e49c162cdb781 100644
--- a/llvm/lib/Target/LoongArch/LoongArchExpandPseudoInsts.cpp
+++ b/llvm/lib/Target/LoongArch/LoongArchExpandPseudoInsts.cpp
@@ -241,7 +241,7 @@ bool LoongArchPreRAExpandPseudo::expandLoadAddressTLSGD(
 
 } // end namespace
 
-INITIALIZE_PASS(LoongArchPreRAExpandPseudo, "LoongArch-prera-expand-pseudo",
+INITIALIZE_PASS(LoongArchPreRAExpandPseudo, "loongarch-prera-expand-pseudo",
                 LOONGARCH_PRERA_EXPAND_PSEUDO_NAME, false, false)
 
 namespace llvm {


        


More information about the llvm-commits mailing list