[llvm] ea49d47 - Specify triple for llc test
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 22 21:47:03 PST 2025
Author: mingmingl
Date: 2025-01-22T21:46:51-08:00
New Revision: ea49d474fd355a9fdc3d549c4f927b970181f4c9
URL: https://github.com/llvm/llvm-project/commit/ea49d474fd355a9fdc3d549c4f927b970181f4c9
DIFF: https://github.com/llvm/llvm-project/commit/ea49d474fd355a9fdc3d549c4f927b970181f4c9.diff
LOG: Specify triple for llc test
Added:
Modified:
llvm/test/CodeGen/X86/jump-table-partition.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/X86/jump-table-partition.ll b/llvm/test/CodeGen/X86/jump-table-partition.ll
index c85338de0c3d4f..5d04df480013b8 100644
--- a/llvm/test/CodeGen/X86/jump-table-partition.ll
+++ b/llvm/test/CodeGen/X86/jump-table-partition.ll
@@ -3,8 +3,8 @@
; Stop after 'finalize-isel' for simpler MIR, and lower the minimum number of
; jump table entries so 'switch' needs fewer cases to generate a jump table.
-; RUN: llc -stop-after=finalize-isel -min-jump-table-entries=2 %s -o %t.mir
-; RUN: llc --run-pass=static-data-splitter -stats -x mir %t.mir -o - 2>&1 | FileCheck %s --check-prefix=STAT
+; RUN: llc -mtriple=x86_64-unknown-linux-gnu -stop-after=finalize-isel -min-jump-table-entries=2 %s -o %t.mir
+; RUN: llc -mtriple=x86_64-unknown-linux-gnu --run-pass=static-data-splitter -stats -x mir %t.mir -o - 2>&1 | FileCheck %s --check-prefix=STAT
; Tests stat messages are expected.
; COM: Update test to verify section suffixes when target-lowering and assembler changes are implemented.
More information about the llvm-commits
mailing list