[llvm] d2771e8 - [Tests] Rename variable to fix broken buildbots

Dávid Bolvanský via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 24 09:46:10 PDT 2021


Author: Dávid Bolvanský
Date: 2021-04-24T18:45:50+02:00
New Revision: d2771e86788443accd3c8c38d7d161f1350af2f8

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

LOG: [Tests] Rename variable to fix broken buildbots

Added: 
    

Modified: 
    llvm/test/Transforms/InstCombine/ctpop.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/InstCombine/ctpop.ll b/llvm/test/Transforms/InstCombine/ctpop.ll
index b389b1f6617a..29617ea37ae2 100644
--- a/llvm/test/Transforms/InstCombine/ctpop.ll
+++ b/llvm/test/Transforms/InstCombine/ctpop.ll
@@ -269,22 +269,22 @@ define <2 x i32> @ctpop_add_no_common_bits_vec_use2(<2 x i32> %a, <2 x i32> %b,
 
 define i8 @ctpop_rotate_left(i8 %a, i8 %amt)  {
 ; CHECK-LABEL: @ctpop_rotate_left(
-; CHECK-NEXT:    [[CTPOP:%.*]] = tail call i8 @llvm.ctpop.i8(i8 [[A:%.*]]), !range [[RNG0]]
-; CHECK-NEXT:    ret i8 [[CTPOP]]
+; CHECK-NEXT:    [[RES:%.*]] = tail call i8 @llvm.ctpop.i8(i8 [[A:%.*]]), !range [[RNG0]]
+; CHECK-NEXT:    ret i8 [[RES]]
 ;
   %rotl = tail call i8 @llvm.fshl.i8(i8 %a, i8 %a, i8 %amt)
-  %ctpop = tail call i8 @llvm.ctpop.i8(i8 %rotl)
-  ret i8 %ctpop
+  %res = tail call i8 @llvm.ctpop.i8(i8 %rotl)
+  ret i8 %res
 }
 
 define i8 @ctpop_rotate_right(i8 %a, i8 %amt)  {
 ; CHECK-LABEL: @ctpop_rotate_right(
-; CHECK-NEXT:    [[CTPOP:%.*]] = tail call i8 @llvm.ctpop.i8(i8 [[A:%.*]]), !range [[RNG0]]
-; CHECK-NEXT:    ret i8 [[CTPOP]]
+; CHECK-NEXT:    [[RES:%.*]] = tail call i8 @llvm.ctpop.i8(i8 [[A:%.*]]), !range [[RNG0]]
+; CHECK-NEXT:    ret i8 [[RES]]
 ;
   %rotr = tail call i8 @llvm.fshr.i8(i8 %a, i8 %a, i8 %amt)
-  %ctpop = tail call i8 @llvm.ctpop.i8(i8 %rotr)
-  ret i8 %ctpop
+  %res = tail call i8 @llvm.ctpop.i8(i8 %rotr)
+  ret i8 %res
 }
 
 declare i8 @llvm.fshl.i8(i8, i8, i8)


        


More information about the llvm-commits mailing list