Skip to content

Commit 1bf4629

Browse files
committed
[PPC] Rename bool-ret-to-int -> ppc-bool-ret-to-int
Reviewed By: #powerpc, nemanjai Differential Revision: https://reviews.llvm.org/D85391
1 parent cc5f625 commit 1bf4629

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

llvm/lib/Target/PowerPC/PPCBoolRetToInt.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ using namespace llvm;
5959

6060
namespace {
6161

62-
#define DEBUG_TYPE "bool-ret-to-int"
62+
#define DEBUG_TYPE "ppc-bool-ret-to-int"
6363

6464
STATISTIC(NumBoolRetPromotion,
6565
"Number of times a bool feeding a RetInst was promoted to an int");
@@ -280,8 +280,8 @@ class PPCBoolRetToInt : public FunctionPass {
280280
} // end anonymous namespace
281281

282282
char PPCBoolRetToInt::ID = 0;
283-
INITIALIZE_PASS(PPCBoolRetToInt, "bool-ret-to-int",
284-
"Convert i1 constants to i32/i64 if they are returned",
285-
false, false)
283+
INITIALIZE_PASS(PPCBoolRetToInt, "ppc-bool-ret-to-int",
284+
"Convert i1 constants to i32/i64 if they are returned", false,
285+
false)
286286

287287
FunctionPass *llvm::createPPCBoolRetToIntPass() { return new PPCBoolRetToInt(); }

llvm/test/CodeGen/PowerPC/BoolRetToIntTest.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: opt -bool-ret-to-int -S -o - < %s | FileCheck %s
1+
; RUN: opt -ppc-bool-ret-to-int -S -o - < %s | FileCheck %s
22

33
target datalayout = "e-m:e-i64:64-n32:64"
44
target triple = "powerpc64le-unknown-linux-gnu"

0 commit comments

Comments
 (0)