[llvm] [Hexagon] Clean-up Instrprof test (PR #166990)

Fateme Hosseini via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 7 10:35:01 PST 2025


https://github.com/fhossein-quic created https://github.com/llvm/llvm-project/pull/166990

None

>From 8676c3ee2fe9c4c2207d1925a6814b556cfaaccd Mon Sep 17 00:00:00 2001
From: Fateme Hosseini <quic_fhossein at quicinc.com>
Date: Thu, 6 Nov 2025 14:25:53 -0800
Subject: [PATCH] [Hexagon] Clean-up Instrprof test

---
 llvm/test/CodeGen/Hexagon/instrprof-custom.ll | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/llvm/test/CodeGen/Hexagon/instrprof-custom.ll b/llvm/test/CodeGen/Hexagon/instrprof-custom.ll
index 620b2acc49520..dc113cafe0491 100644
--- a/llvm/test/CodeGen/Hexagon/instrprof-custom.ll
+++ b/llvm/test/CodeGen/Hexagon/instrprof-custom.ll
@@ -1,5 +1,5 @@
 ; RUN: llc -mtriple=hexagon -relocation-model=pic < %s | FileCheck %s
-; RUN: llc -mtriple=hexagon < %s | FileCheck %s
+; RUN: llc -mtriple=hexagon --mattr=+hvxv68,+hvx-length128b,+hvx-qfloat,-hvx-ieee-fp < %s | FileCheck %s
 
 ; CHECK-LABEL: test1:
 ; CHECK: {{call my_instrprof_handler|r0 = #999}}
@@ -15,6 +15,3 @@ entry:
 
 ; Function Attrs: inaccessiblememonly nofree nosync nounwind willreturn
 declare void @llvm.hexagon.instrprof.custom(ptr, i32) #1
-
-attributes #0 = { "target-features"="+hvxv68,+hvx-length128b,+hvx-qfloat,-hvx-ieee-fp,+hmxv68" }
-attributes #1 = { inaccessiblememonly nofree nosync nounwind willreturn }



More information about the llvm-commits mailing list