[llvm] b72fd31 - [llvm][test][CodeGen] fix up D106030
Nick Desaulniers via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 25 12:11:40 PDT 2021
Author: Nick Desaulniers
Date: 2021-08-25T12:11:30-07:00
New Revision: b72fd31bdaf2cba3bac03a1d83a231266160527c
URL: https://github.com/llvm/llvm-project/commit/b72fd31bdaf2cba3bac03a1d83a231266160527c
DIFF: https://github.com/llvm/llvm-project/commit/b72fd31bdaf2cba3bac03a1d83a231266160527c.diff
LOG: [llvm][test][CodeGen] fix up D106030
Fixes missing -mtriple from llc tests, which were failing on non-x86
hosts.
Fixes: D106030
Reviewed By: arsenm, aaron.ballman
Differential Revision: https://reviews.llvm.org/D108718
Added:
Modified:
llvm/test/CodeGen/X86/attr-dontcall.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/X86/attr-dontcall.ll b/llvm/test/CodeGen/X86/attr-dontcall.ll
index c0104fa7e4a9..cdbe99705fb2 100644
--- a/llvm/test/CodeGen/X86/attr-dontcall.ll
+++ b/llvm/test/CodeGen/X86/attr-dontcall.ll
@@ -1,6 +1,6 @@
-; RUN: not llc -global-isel=0 -fast-isel=0 -stop-after=finalize-isel %s 2>&1 | FileCheck %s
-; RUN: not llc -global-isel=0 -fast-isel=1 -stop-after=finalize-isel %s 2>&1 | FileCheck %s
-; RUN: not llc -global-isel=1 -fast-isel=0 -stop-after=irtranslator %s 2>&1 | FileCheck %s
+; RUN: not llc -mtriple=x86_64 -global-isel=0 -fast-isel=0 -stop-after=finalize-isel %s 2>&1 | FileCheck %s
+; RUN: not llc -mtriple=x86_64 -global-isel=0 -fast-isel=1 -stop-after=finalize-isel %s 2>&1 | FileCheck %s
+; RUN: not llc -mtriple=x86_64 -global-isel=1 -fast-isel=0 -stop-after=irtranslator -global-isel-abort=0 %s 2>&1 | FileCheck %s
declare void @foo() "dontcall"
define void @bar() {
More information about the llvm-commits
mailing list