[llvm] ff6fe93 - [AArch64][NFC] Fix failing cost-model test
Irina Dobrescu via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 2 07:01:03 PDT 2021
Author: Irina Dobrescu
Date: 2021-06-02T15:00:19+01:00
New Revision: ff6fe93f21967bdfb8dd0e818c2207c209aa2eee
URL: https://github.com/llvm/llvm-project/commit/ff6fe93f21967bdfb8dd0e818c2207c209aa2eee
DIFF: https://github.com/llvm/llvm-project/commit/ff6fe93f21967bdfb8dd0e818c2207c209aa2eee.diff
LOG: [AArch64][NFC] Fix failing cost-model test
Added:
Modified:
llvm/test/Analysis/CostModel/AArch64/bitreverse.ll
Removed:
################################################################################
diff --git a/llvm/test/Analysis/CostModel/AArch64/bitreverse.ll b/llvm/test/Analysis/CostModel/AArch64/bitreverse.ll
index 9bbb89ae74e2b..46d8f8dfc1dc4 100644
--- a/llvm/test/Analysis/CostModel/AArch64/bitreverse.ll
+++ b/llvm/test/Analysis/CostModel/AArch64/bitreverse.ll
@@ -58,7 +58,7 @@ declare <32 x i8> @llvm.bitreverse.v32i8(<32 x i8>)
define <2 x i64> @var_bitreverse_v2i64(<2 x i64> %a) {
; CHECK-LABEL: 'var_bitreverse_v2i64'
-; CHECK-NEXT: Cost Model: Found an estimated cost of 8 for instruction: %bitreverse = call <2 x i64> @llvm.bitreverse.v2i64(<2 x i64> %a)
+; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %bitreverse = call <2 x i64> @llvm.bitreverse.v2i64(<2 x i64> %a)
; CHECK-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret <2 x i64> %bitreverse
;
%bitreverse = call <2 x i64> @llvm.bitreverse.v2i64(<2 x i64> %a)
@@ -67,7 +67,7 @@ define <2 x i64> @var_bitreverse_v2i64(<2 x i64> %a) {
define <4 x i64> @var_bitreverse_v4i64(<4 x i64> %a) {
; CHECK-LABEL: 'var_bitreverse_v4i64'
-; CHECK-NEXT: Cost Model: Found an estimated cost of 16 for instruction: %bitreverse = call <4 x i64> @llvm.bitreverse.v4i64(<4 x i64> %a)
+; CHECK-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %bitreverse = call <4 x i64> @llvm.bitreverse.v4i64(<4 x i64> %a)
; CHECK-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret <4 x i64> %bitreverse
;
%bitreverse = call <4 x i64> @llvm.bitreverse.v4i64(<4 x i64> %a)
@@ -76,7 +76,7 @@ define <4 x i64> @var_bitreverse_v4i64(<4 x i64> %a) {
define <4 x i32> @var_bitreverse_v4i32(<4 x i32> %a) {
; CHECK-LABEL: 'var_bitreverse_v4i32'
-; CHECK-NEXT: Cost Model: Found an estimated cost of 22 for instruction: %bitreverse = call <4 x i32> @llvm.bitreverse.v4i32(<4 x i32> %a)
+; CHECK-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %bitreverse = call <4 x i32> @llvm.bitreverse.v4i32(<4 x i32> %a)
; CHECK-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret <4 x i32> %bitreverse
;
%bitreverse = call <4 x i32> @llvm.bitreverse.v4i32(<4 x i32> %a)
@@ -85,7 +85,7 @@ define <4 x i32> @var_bitreverse_v4i32(<4 x i32> %a) {
define <8 x i32> @var_bitreverse_v8i32(<8 x i32> %a) {
; CHECK-LABEL: 'var_bitreverse_v8i32'
-; CHECK-NEXT: Cost Model: Found an estimated cost of 44 for instruction: %bitreverse = call <8 x i32> @llvm.bitreverse.v8i32(<8 x i32> %a)
+; CHECK-NEXT: Cost Model: Found an estimated cost of 4 for instruction: %bitreverse = call <8 x i32> @llvm.bitreverse.v8i32(<8 x i32> %a)
; CHECK-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret <8 x i32> %bitreverse
;
%bitreverse = call <8 x i32> @llvm.bitreverse.v8i32(<8 x i32> %a)
More information about the llvm-commits
mailing list