[PATCH] D120393: [RISCV][NFC] Remove useless intrinsic function declare in test of Zbp extension
WangLian via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 23 00:45:00 PST 2022
Jimerlife created this revision.
Jimerlife added reviewers: craig.topper, benshi001, asb.
Jimerlife added a project: LLVM.
Herald added subscribers: VincentWu, luke957, achieveartificialintelligence, vkmr, frasercrmck, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar.
Jimerlife requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, eopXD, jacquesguan, MaskRay.
Remove useless intrinsic function declare.
It's should be @llvm.riscv.grev.i32 and llvm.riscv.gorc.i64, not @llvm.riscv.grevi.i32 and @llvm.riscv.gorci.i64.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D120393
Files:
llvm/test/CodeGen/RISCV/rv64zbp-intrinsic.ll
Index: llvm/test/CodeGen/RISCV/rv64zbp-intrinsic.ll
===================================================================
--- llvm/test/CodeGen/RISCV/rv64zbp-intrinsic.ll
+++ llvm/test/CodeGen/RISCV/rv64zbp-intrinsic.ll
@@ -25,8 +25,6 @@
ret i32 %tmp
}
-declare i32 @llvm.riscv.grevi.i32(i32 %a)
-
define signext i32 @grevi32(i32 signext %a) nounwind {
; RV64ZBP-LABEL: grevi32:
; RV64ZBP: # %bb.0:
@@ -471,8 +469,6 @@
ret i64 %tmp
}
-declare i64 @llvm.riscv.gorci.i64(i64 %a)
-
define i64 @gorci64(i64 %a) nounwind {
; RV64ZBP-LABEL: gorci64:
; RV64ZBP: # %bb.0:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120393.410732.patch
Type: text/x-patch
Size: 592 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220223/9cf2d322/attachment.bin>
More information about the llvm-commits
mailing list