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

via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 10 12:55:11 PST 2025


Author: Fateme Hosseini
Date: 2025-11-10T12:55:07-08:00
New Revision: 826cadd5628413a0a92722e0382ba9d968911acc

URL: https://github.com/llvm/llvm-project/commit/826cadd5628413a0a92722e0382ba9d968911acc
DIFF: https://github.com/llvm/llvm-project/commit/826cadd5628413a0a92722e0382ba9d968911acc.diff

LOG: [Hexagon] Clean-up Instrprof test (#166990)

Added: 
    

Modified: 
    llvm/test/CodeGen/Hexagon/instrprof-custom.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/Hexagon/instrprof-custom.ll b/llvm/test/CodeGen/Hexagon/instrprof-custom.ll
index 620b2acc49520..1c1965d44541f 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}}
@@ -14,7 +14,4 @@ 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 }
+declare void @llvm.hexagon.instrprof.custom(ptr, i32)


        


More information about the llvm-commits mailing list