[llvm] 2caf1de - Fix broken CI

Sinan Lin via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 17 01:25:34 PST 2022


Author: Sinan Lin
Date: 2022-11-17T17:22:52+08:00
New Revision: 2caf1de1b87cfd41c0a477558f02adc1b6a1d0ba

URL: https://github.com/llvm/llvm-project/commit/2caf1de1b87cfd41c0a477558f02adc1b6a1d0ba
DIFF: https://github.com/llvm/llvm-project/commit/2caf1de1b87cfd41c0a477558f02adc1b6a1d0ba.diff

LOG: Fix broken CI

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.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D138188

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/X86/align-basic-block-sections.mir b/llvm/test/CodeGen/X86/align-basic-block-sections.mir
index 055a9dac5219..e7ad5dfe6478 100644
--- a/llvm/test/CodeGen/X86/align-basic-block-sections.mir
+++ b/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


        


More information about the llvm-commits mailing list