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

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


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG1bf4629f1112: [PPC] Rename bool-ret-to-int -> ppc-bool-ret-to-int (authored by aeubanks).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85391/new/

https://reviews.llvm.org/D85391

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


Index: llvm/test/CodeGen/PowerPC/BoolRetToIntTest.ll
===================================================================
--- llvm/test/CodeGen/PowerPC/BoolRetToIntTest.ll
+++ 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"
Index: llvm/lib/Target/PowerPC/PPCBoolRetToInt.cpp
===================================================================
--- llvm/lib/Target/PowerPC/PPCBoolRetToInt.cpp
+++ llvm/lib/Target/PowerPC/PPCBoolRetToInt.cpp
@@ -59,7 +59,7 @@
 
 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 @@
 } // 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(); }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85391.283962.patch
Type: text/x-patch
Size: 1378 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200807/740c235c/attachment.bin>


More information about the llvm-commits mailing list