Skip to content

Commit 8ef9fc8

Browse files
committed
[CI] Fix the slp_x86.ll failure when running on Apple Silicon
1 parent 14bf803 commit 8ef9fc8

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/apple-silicon-llvm-from-sources.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
mkdir build && cd build
2929
cmake -G Ninja \
3030
-DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang" \
31-
-DLLVM_TARGETS_TO_BUILD="host" -DLLVM_OPTIMIZED_TABLEGEN=ON \
31+
-DLLVM_TARGETS_TO_BUILD="host;X86_64" -DLLVM_OPTIMIZED_TABLEGEN=ON \
3232
../llvm
3333
# Note that only the required tools are built
3434
ninja clang opt lli not FileCheck

.github/workflows/x86-ubuntu-llvm-from-sources-static.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: x86-Ubuntu-llvm-from-sources-static
1+
name: x86-Ubuntu (LLVM from sources - static linking)
22

33
on:
44
schedule:

.github/workflows/x86-ubuntu-llvm-from-sources.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
ln -s /usr/bin/x86_64-linux-gnu-ld.gold ld
3232
cmake -G Ninja \
3333
-DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang" \
34-
-DLLVM_TARGETS_TO_BUILD="X86" -DLLVM_OPTIMIZED_TABLEGEN=ON \
34+
-DLLVM_TARGETS_TO_BUILD="X86_64;AArch64" -DLLVM_OPTIMIZED_TABLEGEN=ON \
3535
../llvm
3636
# Note that only the required tools are built
3737
ninja clang opt lli not FileCheck

test/llvm/slp_x86.ll

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2-
; RUN: opt -passes=slp-vectorizer,dce -slp-threshold=-100 -mtriple=x86_64-unknown-linuxgnu -S %s | FileCheck %s
2+
; RUN: opt -passes=slp-vectorizer,dce -slp-threshold=-100 -mtriple=x86_64-unknown-linux-gnu -S %s | FileCheck %s
33

44
; The input function can be expressed in C as:
55
; void foo(int a1, int a2, int b1, int b2, int *A) {

0 commit comments

Comments
 (0)