From: Philip Reames Date: Thu, 16 Jun 2022 17:32:04 +0000 (-0700) Subject: [RISCV] Fix a typo in an intrinsic name X-Git-Tag: upstream/15.0.7~4495 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b91a9f48523d5311647fe87c123fa68fd1d47cb0;p=platform%2Fupstream%2Fllvm.git [RISCV] Fix a typo in an intrinsic name Apparently the parser/verifier is more lax than it should be. The typo'd names should have been rejected. --- diff --git a/llvm/test/Analysis/CostModel/RISCV/rvv-intrinsics.ll b/llvm/test/Analysis/CostModel/RISCV/rvv-intrinsics.ll index c7d05b1..850a19c 100644 --- a/llvm/test/Analysis/CostModel/RISCV/rvv-intrinsics.ll +++ b/llvm/test/Analysis/CostModel/RISCV/rvv-intrinsics.ll @@ -36,7 +36,7 @@ define void @fshr( %a, %b, @llvm.fshr.nxv1i32( %a, %b, %c) ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: ret void ; - call @llvm.fshr.v4i32( %a, %b, %c) + call @llvm.fshr.nxv4i32( %a, %b, %c) ret void } @@ -45,12 +45,12 @@ define void @fshl( %a, %b, @llvm.fshl.nxv1i32( %a, %b, %c) ; CHECK-NEXT: Cost Model: Found an estimated cost of 1 for instruction: ret void ; - call @llvm.fshl.v4i32( %a, %b, %c) + call @llvm.fshl.nxv4i32( %a, %b, %c) ret void } -declare @llvm.fshr.v4i32( %a, %b, %c) -declare @llvm.fshl.v4i32( %a, %b, %c) +declare @llvm.fshr.nxv4i32( %a, %b, %c) +declare @llvm.fshl.nxv4i32( %a, %b, %c) declare @llvm.sin.nxv4f32()