[llvm] 6ee69c0 - [NFC][X86] Inclusive language: Rename master label in x86-shrink-wrapping.ll

Quinn Pham via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 24 07:47:50 PST 2021


Author: Quinn Pham
Date: 2021-11-24T09:47:45-06:00
New Revision: 6ee69c0dea1e75d94015b2a794cd28c35c84f050

URL: https://github.com/llvm/llvm-project/commit/6ee69c0dea1e75d94015b2a794cd28c35c84f050
DIFF: https://github.com/llvm/llvm-project/commit/6ee69c0dea1e75d94015b2a794cd28c35c84f050.diff

LOG: [NFC][X86] Inclusive language: Rename master label in x86-shrink-wrapping.ll

[NFC] As part of using inclusive language within the llvm project, this patch
renames the master label in `x86-shrink-wrapping.ll` to main.

Reviewed By: ZarkoCA

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

Added: 
    

Modified: 
    llvm/test/CodeGen/X86/x86-shrink-wrapping.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/X86/x86-shrink-wrapping.ll b/llvm/test/CodeGen/X86/x86-shrink-wrapping.ll
index 2bf3688abe18..0f8bb837f82a 100644
--- a/llvm/test/CodeGen/X86/x86-shrink-wrapping.ll
+++ b/llvm/test/CodeGen/X86/x86-shrink-wrapping.ll
@@ -1294,7 +1294,7 @@ define i32 @tlsCall(i1 %bool1, i32 %arg, i32* readonly dereferenceable(4) %sum1)
 ; ENABLE-NEXT:    pushq %rax
 ; ENABLE-NEXT:    testb $1, %dil
 ; ENABLE-NEXT:    je LBB15_2
-; ENABLE-NEXT:  ## %bb.1: ## %master
+; ENABLE-NEXT:  ## %bb.1: ## %main
 ; ENABLE-NEXT:    movl (%rdx), %ecx
 ; ENABLE-NEXT:    movq _sum1 at TLVP(%rip), %rdi
 ; ENABLE-NEXT:    callq *(%rdi)
@@ -1315,7 +1315,7 @@ define i32 @tlsCall(i1 %bool1, i32 %arg, i32* readonly dereferenceable(4) %sum1)
 ; DISABLE-NEXT:    pushq %rax
 ; DISABLE-NEXT:    testb $1, %dil
 ; DISABLE-NEXT:    je LBB15_2
-; DISABLE-NEXT:  ## %bb.1: ## %master
+; DISABLE-NEXT:  ## %bb.1: ## %main
 ; DISABLE-NEXT:    movl (%rdx), %ecx
 ; DISABLE-NEXT:    movq _sum1 at TLVP(%rip), %rdi
 ; DISABLE-NEXT:    callq *(%rdi)
@@ -1331,9 +1331,9 @@ define i32 @tlsCall(i1 %bool1, i32 %arg, i32* readonly dereferenceable(4) %sum1)
 ; DISABLE-NEXT:    popq %rcx
 ; DISABLE-NEXT:    retq
 entry:
-  br i1 %bool1, label %master, label %else
+  br i1 %bool1, label %main, label %else
 
-master:
+main:
   %tmp1 = load i32, i32* %sum1, align 4
   store i32 %tmp1, i32* @sum1, align 4
   br label %exit
@@ -1343,7 +1343,7 @@ else:
   br label %exit
 
 exit:
-  %res = phi i32 [ %arg, %master], [ %call, %else ]
+  %res = phi i32 [ %arg, %main], [ %call, %else ]
   ret i32 %res
 }
 


        


More information about the llvm-commits mailing list