[PATCH] D138188: Fix broken CI

Sinan Lin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 16 23:55:20 PST 2022


sinan created this revision.
sinan added reviewers: gkistanova, rahmanl.
Herald added a subscriber: pengfei.
Herald added a project: All.
sinan requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The test case introduced in https://reviews.llvm.org/D137535 does not set a proper triple, which breaks CI from ppc/x86win/nvptx64. Hope this patch can fix the issue.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D138188

Files:
  llvm/test/CodeGen/X86/align-basic-block-sections.mir


Index: llvm/test/CodeGen/X86/align-basic-block-sections.mir
===================================================================
--- llvm/test/CodeGen/X86/align-basic-block-sections.mir
+++ llvm/test/CodeGen/X86/align-basic-block-sections.mir
@@ -1,5 +1,5 @@
 # Check if the alignment directive is put on the correct place when the basic block section option is used.
-# RUN: llc -start-after=bbsections-prepare  %s -o - | FileCheck %s -check-prefix=CHECK
+# RUN: llc -mtriple x86_64-unknown-linux-gnu -start-after=bbsections-prepare  %s -o - | FileCheck %s -check-prefix=CHECK
 
 # How to generate the input:
 # foo.c


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138188.476023.patch
Type: text/x-patch
Size: 618 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221117/8fd36c5f/attachment.bin>


More information about the llvm-commits mailing list