[llvm] b370256 - Hexagon: Use -mtriple instead of -march in a couple tests (#176790)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 19 10:36:40 PST 2026
Author: Matt Arsenault
Date: 2026-01-19T18:36:35Z
New Revision: b37025639e5d86539affaf06e5ed585c09eaeff2
URL: https://github.com/llvm/llvm-project/commit/b37025639e5d86539affaf06e5ed585c09eaeff2
DIFF: https://github.com/llvm/llvm-project/commit/b37025639e5d86539affaf06e5ed585c09eaeff2.diff
LOG: Hexagon: Use -mtriple instead of -march in a couple tests (#176790)
Most tests were converted to avoid -march in 2024.
Added:
Modified:
llvm/test/CodeGen/Hexagon/fp16-promote.ll
llvm/test/CodeGen/Hexagon/libcall_tail.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/Hexagon/fp16-promote.ll b/llvm/test/CodeGen/Hexagon/fp16-promote.ll
index 1ef0a133ce30a..31bdb7a126e37 100644
--- a/llvm/test/CodeGen/Hexagon/fp16-promote.ll
+++ b/llvm/test/CodeGen/Hexagon/fp16-promote.ll
@@ -1,5 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc -march=hexagon < %s | FileCheck %s
+; RUN: llc -mtriple=hexagon-- < %s | FileCheck %s
define half @freeze_half_undef() nounwind {
; CHECK-LABEL: freeze_half_undef:
diff --git a/llvm/test/CodeGen/Hexagon/libcall_tail.ll b/llvm/test/CodeGen/Hexagon/libcall_tail.ll
index 2ea95abe8055a..fe51971d6e75e 100644
--- a/llvm/test/CodeGen/Hexagon/libcall_tail.ll
+++ b/llvm/test/CodeGen/Hexagon/libcall_tail.ll
@@ -1,7 +1,7 @@
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6
; Test that libcalls used only by return are tail called.
; This tests non-float libcalls
-; RUN: llc -march=hexagon -verify-machineinstrs < %s | FileCheck %s
+; RUN: llc -mtriple=hexagon-- -verify-machineinstrs < %s | FileCheck %s
define i32 @udiv(i32 %a, i32 %b) nounwind {
; CHECK-LABEL: udiv:
More information about the llvm-commits
mailing list