[llvm] 1bf4629 - [PPC] Rename bool-ret-to-int -> ppc-bool-ret-to-int

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 7 11:27:13 PDT 2020


Author: Arthur Eubanks
Date: 2020-08-07T11:27:05-07:00
New Revision: 1bf4629f1112f28a97d048f8b3dbf483ba6604b8

URL: https://github.com/llvm/llvm-project/commit/1bf4629f1112f28a97d048f8b3dbf483ba6604b8
DIFF: https://github.com/llvm/llvm-project/commit/1bf4629f1112f28a97d048f8b3dbf483ba6604b8.diff

LOG: [PPC] Rename bool-ret-to-int -> ppc-bool-ret-to-int

Reviewed By: #powerpc, nemanjai

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

Added: 
    

Modified: 
    llvm/lib/Target/PowerPC/PPCBoolRetToInt.cpp
    llvm/test/CodeGen/PowerPC/BoolRetToIntTest.ll

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/PowerPC/PPCBoolRetToInt.cpp b/llvm/lib/Target/PowerPC/PPCBoolRetToInt.cpp
index 2259a29f838a..acc8b317a220 100644
--- a/llvm/lib/Target/PowerPC/PPCBoolRetToInt.cpp
+++ b/llvm/lib/Target/PowerPC/PPCBoolRetToInt.cpp
@@ -59,7 +59,7 @@ using namespace llvm;
 
 namespace {
 
-#define DEBUG_TYPE "bool-ret-to-int"
+#define DEBUG_TYPE "ppc-bool-ret-to-int"
 
 STATISTIC(NumBoolRetPromotion,
           "Number of times a bool feeding a RetInst was promoted to an int");
@@ -280,8 +280,8 @@ class PPCBoolRetToInt : public FunctionPass {
 } // end anonymous namespace
 
 char PPCBoolRetToInt::ID = 0;
-INITIALIZE_PASS(PPCBoolRetToInt, "bool-ret-to-int",
-                "Convert i1 constants to i32/i64 if they are returned",
-                false, false)
+INITIALIZE_PASS(PPCBoolRetToInt, "ppc-bool-ret-to-int",
+                "Convert i1 constants to i32/i64 if they are returned", false,
+                false)
 
 FunctionPass *llvm::createPPCBoolRetToIntPass() { return new PPCBoolRetToInt(); }

diff  --git a/llvm/test/CodeGen/PowerPC/BoolRetToIntTest.ll b/llvm/test/CodeGen/PowerPC/BoolRetToIntTest.ll
index fd515281e394..cc2566b33770 100644
--- a/llvm/test/CodeGen/PowerPC/BoolRetToIntTest.ll
+++ b/llvm/test/CodeGen/PowerPC/BoolRetToIntTest.ll
@@ -1,4 +1,4 @@
-; RUN: opt -bool-ret-to-int -S -o - < %s | FileCheck %s
+; RUN: opt -ppc-bool-ret-to-int -S -o - < %s | FileCheck %s
 
 target datalayout = "e-m:e-i64:64-n32:64"
 target triple = "powerpc64le-unknown-linux-gnu"


        


More information about the llvm-commits mailing list