[llvm] ed7d351 - [LoongArch] Fix wrong function names in bstrpick_w.ll. NFC

Weining Lu via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 30 01:59:52 PDT 2022


Author: Weining Lu
Date: 2022-06-30T16:59:26+08:00
New Revision: ed7d351309f7b1e87062b87b4ba8fa9eb324420a

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

LOG: [LoongArch] Fix wrong function names in bstrpick_w.ll. NFC

Added: 
    

Modified: 
    llvm/test/CodeGen/LoongArch/bstrpick_w.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/LoongArch/bstrpick_w.ll b/llvm/test/CodeGen/LoongArch/bstrpick_w.ll
index 3475490d5eb1e..92d79019a7e3a 100644
--- a/llvm/test/CodeGen/LoongArch/bstrpick_w.ll
+++ b/llvm/test/CodeGen/LoongArch/bstrpick_w.ll
@@ -1,7 +1,7 @@
 ; RUN: llc --mtriple=loongarch32 < %s | FileCheck %s
 
-define i32 @lshr40_and255(i32 %a) {
-; CHECK-LABEL: lshr40_and255:
+define i32 @lshr10_and255(i32 %a) {
+; CHECK-LABEL: lshr10_and255:
 ; CHECK:       # %bb.0:
 ; CHECK-NEXT:    bstrpick.w $a0, $a0, 17, 10
 ; CHECK-NEXT:    jirl $zero, $ra, 0
@@ -10,8 +10,8 @@ define i32 @lshr40_and255(i32 %a) {
   ret i32 %and
 }
 
-define i32 @ashr50_and511(i32 %a) {
-; CHECK-LABEL: ashr50_and511:
+define i32 @ashr20_and511(i32 %a) {
+; CHECK-LABEL: ashr20_and511:
 ; CHECK:       # %bb.0:
 ; CHECK-NEXT:    bstrpick.w $a0, $a0, 28, 20
 ; CHECK-NEXT:    jirl $zero, $ra, 0


        


More information about the llvm-commits mailing list