[llvm] ad8cc88 - [RISCV] Rename a few test cases for accuracy. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 28 19:58:11 PDT 2024
Author: Craig Topper
Date: 2024-07-28T19:58:00-07:00
New Revision: ad8cc88b1b84bd4d450824259eee5436e85309a9
URL: https://github.com/llvm/llvm-project/commit/ad8cc88b1b84bd4d450824259eee5436e85309a9
DIFF: https://github.com/llvm/llvm-project/commit/ad8cc88b1b84bd4d450824259eee5436e85309a9.diff
LOG: [RISCV] Rename a few test cases for accuracy. NFC
The tests are for slliuw rather than slliw.
Added:
Modified:
llvm/test/CodeGen/RISCV/rv64zba.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/RISCV/rv64zba.ll b/llvm/test/CodeGen/RISCV/rv64zba.ll
index 7cb2452e1a148..866284afb95de 100644
--- a/llvm/test/CodeGen/RISCV/rv64zba.ll
+++ b/llvm/test/CodeGen/RISCV/rv64zba.ll
@@ -2879,8 +2879,8 @@ entry:
ret ptr %5
}
-define i64 @srli_slliw(i64 %1) {
-; RV64I-LABEL: srli_slliw:
+define i64 @srli_slliuw(i64 %1) {
+; RV64I-LABEL: srli_slliuw:
; RV64I: # %bb.0: # %entry
; RV64I-NEXT: slli a0, a0, 2
; RV64I-NEXT: li a1, 1
@@ -2889,7 +2889,7 @@ define i64 @srli_slliw(i64 %1) {
; RV64I-NEXT: and a0, a0, a1
; RV64I-NEXT: ret
;
-; RV64ZBA-LABEL: srli_slliw:
+; RV64ZBA-LABEL: srli_slliuw:
; RV64ZBA: # %bb.0: # %entry
; RV64ZBA-NEXT: srli a0, a0, 2
; RV64ZBA-NEXT: slli.uw a0, a0, 4
@@ -2901,8 +2901,8 @@ entry:
ret i64 %4
}
-define i64 @srli_slliw_canonical(i64 %0) {
-; RV64I-LABEL: srli_slliw_canonical:
+define i64 @srli_slliuw_canonical(i64 %0) {
+; RV64I-LABEL: srli_slliuw_canonical:
; RV64I: # %bb.0: # %entry
; RV64I-NEXT: slli a0, a0, 2
; RV64I-NEXT: li a1, 1
@@ -2911,7 +2911,7 @@ define i64 @srli_slliw_canonical(i64 %0) {
; RV64I-NEXT: and a0, a0, a1
; RV64I-NEXT: ret
;
-; RV64ZBA-LABEL: srli_slliw_canonical:
+; RV64ZBA-LABEL: srli_slliuw_canonical:
; RV64ZBA: # %bb.0: # %entry
; RV64ZBA-NEXT: srli a0, a0, 2
; RV64ZBA-NEXT: slli.uw a0, a0, 4
More information about the llvm-commits
mailing list