[llvm][test][CodeGen] fix up D106030
authorNick Desaulniers <ndesaulniers@google.com>
Wed, 25 Aug 2021 19:10:27 +0000 (12:10 -0700)
committerNick Desaulniers <ndesaulniers@google.com>
Wed, 25 Aug 2021 19:11:30 +0000 (12:11 -0700)
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

llvm/test/CodeGen/X86/attr-dontcall.ll

index c0104fa..cdbe997 100644 (file)
@@ -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() {