1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

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

Reviewed By: #powerpc, nemanjai

Differential Revision: https://reviews.llvm.org/D85391
This commit is contained in:
Arthur Eubanks 2020-08-05 20:02:22 -07:00
parent 1bc795778b
commit 8c7c923e8d
2 changed files with 5 additions and 5 deletions

View File

@ -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 @@ private:
} // 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(); }

View File

@ -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"