[PATCH] D108718: [llvm][test][CodeGen] fix up D106030
Nick Desaulniers via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 25 11:43:22 PDT 2021
nickdesaulniers created this revision.
nickdesaulniers added a reviewer: arsenm.
Herald added a subscriber: pengfei.
nickdesaulniers requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.
Fixes missing -mtriple from llc tests, which were failing on non-x86
hosts.
Fixes: D106030 <https://reviews.llvm.org/D106030>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D108718
Files:
llvm/test/CodeGen/X86/attr-dontcall.ll
Index: llvm/test/CodeGen/X86/attr-dontcall.ll
===================================================================
--- llvm/test/CodeGen/X86/attr-dontcall.ll
+++ 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 --crash llc -mtriple=x86_64 -global-isel=1 -fast-isel=0 -stop-after=irtranslator %s 2>&1 | FileCheck %s
declare void @foo() "dontcall"
define void @bar() {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108718.368691.patch
Type: text/x-patch
Size: 884 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210825/14bcdf34/attachment.bin>
More information about the llvm-commits
mailing list