diff options
Diffstat (limited to 'llvm/test/CodeGen/BPF')
182 files changed, 298 insertions, 298 deletions
diff --git a/llvm/test/CodeGen/BPF/32-bit-subreg-alu.ll b/llvm/test/CodeGen/BPF/32-bit-subreg-alu.ll index abec34990044..85d419000c65 100644 --- a/llvm/test/CodeGen/BPF/32-bit-subreg-alu.ll +++ b/llvm/test/CodeGen/BPF/32-bit-subreg-alu.ll @@ -1,5 +1,5 @@ -; RUN: llc -O2 -march=bpfel -mattr=+alu32 < %s | FileCheck %s -; RUN: llc -O2 -march=bpfel -mcpu=v3 < %s | FileCheck %s +; RUN: llc -O2 -mtriple=bpfel -mattr=+alu32 < %s | FileCheck %s +; RUN: llc -O2 -mtriple=bpfel -mcpu=v3 < %s | FileCheck %s ; ; int mov(int a) ; { diff --git a/llvm/test/CodeGen/BPF/32-bit-subreg-cond-select.ll b/llvm/test/CodeGen/BPF/32-bit-subreg-cond-select.ll index a60d39e5d6c1..35d444163866 100644 --- a/llvm/test/CodeGen/BPF/32-bit-subreg-cond-select.ll +++ b/llvm/test/CodeGen/BPF/32-bit-subreg-cond-select.ll @@ -1,4 +1,4 @@ -; RUN: llc -O2 -march=bpfel -mcpu=v1 -mattr=+alu32 < %s | FileCheck %s +; RUN: llc -O2 -mtriple=bpfel -mcpu=v1 -mattr=+alu32 < %s | FileCheck %s ; ; unsigned int select_cc_32 (unsigned a, unsigned b, int c, int d) ; { diff --git a/llvm/test/CodeGen/BPF/32-bit-subreg-load-store.ll b/llvm/test/CodeGen/BPF/32-bit-subreg-load-store.ll index 4b9af62fb3d6..71be7806a551 100644 --- a/llvm/test/CodeGen/BPF/32-bit-subreg-load-store.ll +++ b/llvm/test/CodeGen/BPF/32-bit-subreg-load-store.ll @@ -1,4 +1,4 @@ -; RUN: llc -O2 -march=bpfel -mattr=+alu32 < %s | FileCheck %s +; RUN: llc -O2 -mtriple=bpfel -mattr=+alu32 < %s | FileCheck %s ; ; unsigned char loadu8(unsigned char *p) ; { diff --git a/llvm/test/CodeGen/BPF/32-bit-subreg-peephole-phi-1.ll b/llvm/test/CodeGen/BPF/32-bit-subreg-peephole-phi-1.ll index 2fc1e6c2783b..fd751c733fa2 100644 --- a/llvm/test/CodeGen/BPF/32-bit-subreg-peephole-phi-1.ll +++ b/llvm/test/CodeGen/BPF/32-bit-subreg-peephole-phi-1.ll @@ -1,4 +1,4 @@ -; RUN: llc -O2 -march=bpfel -mcpu=v2 -mattr=+alu32 < %s | FileCheck %s +; RUN: llc -O2 -mtriple=bpfel -mcpu=v2 -mattr=+alu32 < %s | FileCheck %s ; ; For the below test case, 'b' in 'ret == b' needs SLL/SLR. ; 'ret' in 'ret == b' does not need SLL/SLR as all 'ret' values diff --git a/llvm/test/CodeGen/BPF/32-bit-subreg-peephole-phi-2.ll b/llvm/test/CodeGen/BPF/32-bit-subreg-peephole-phi-2.ll index da69657d02d0..6e79602f45f0 100644 --- a/llvm/test/CodeGen/BPF/32-bit-subreg-peephole-phi-2.ll +++ b/llvm/test/CodeGen/BPF/32-bit-subreg-peephole-phi-2.ll @@ -1,4 +1,4 @@ -; RUN: llc -O2 -march=bpfel -mcpu=v2 -mattr=+alu32 < %s | FileCheck %s +; RUN: llc -O2 -mtriple=bpfel -mcpu=v2 -mattr=+alu32 < %s | FileCheck %s ; ; For the below test case, both 'ret' and 'b' at 'ret == b' ; need SLL/SLR. For 'ret', 'ret = a' may receive the value diff --git a/llvm/test/CodeGen/BPF/32-bit-subreg-peephole-phi-3.ll b/llvm/test/CodeGen/BPF/32-bit-subreg-peephole-phi-3.ll index 3f3f9c8c4a55..314d63e60aa6 100644 --- a/llvm/test/CodeGen/BPF/32-bit-subreg-peephole-phi-3.ll +++ b/llvm/test/CodeGen/BPF/32-bit-subreg-peephole-phi-3.ll @@ -1,4 +1,4 @@ -; RUN: llc -O2 -march=bpfel -mcpu=v2 -mattr=+alu32 < %s | FileCheck %s +; RUN: llc -O2 -mtriple=bpfel -mcpu=v2 -mattr=+alu32 < %s | FileCheck %s ; ; For the below example, two phi node in the loop may depend on ; each other. So implementation must handle recursion properly. diff --git a/llvm/test/CodeGen/BPF/32-bit-subreg-peephole.ll b/llvm/test/CodeGen/BPF/32-bit-subreg-peephole.ll index f491eeee37d8..18ae3b75c451 100644 --- a/llvm/test/CodeGen/BPF/32-bit-subreg-peephole.ll +++ b/llvm/test/CodeGen/BPF/32-bit-subreg-peephole.ll @@ -1,4 +1,4 @@ -; RUN: llc -O2 -march=bpfel -mcpu=v2 -mattr=+alu32 < %s | FileCheck %s +; RUN: llc -O2 -mtriple=bpfel -mcpu=v2 -mattr=+alu32 < %s | FileCheck %s ; ; long long select_u(unsigned a, unsigned b, long long c, long long d) ; { diff --git a/llvm/test/CodeGen/BPF/32-bit-subreg-zext.ll b/llvm/test/CodeGen/BPF/32-bit-subreg-zext.ll index 57ea93a8fe6e..d6e5a1aad57a 100644 --- a/llvm/test/CodeGen/BPF/32-bit-subreg-zext.ll +++ b/llvm/test/CodeGen/BPF/32-bit-subreg-zext.ll @@ -1,7 +1,7 @@ -; RUN: llc -O2 -march=bpfel -mattr=+alu32 < %s | FileCheck %s -; RUN: llc -O2 -march=bpfel -mcpu=v3 < %s | FileCheck %s -; RUN: llc -O2 -march=bpfeb -mattr=+alu32 < %s | FileCheck %s -; RUN: llc -O2 -march=bpfeb -mcpu=v3 < %s | FileCheck %s +; RUN: llc -O2 -mtriple=bpfel -mattr=+alu32 < %s | FileCheck %s +; RUN: llc -O2 -mtriple=bpfel -mcpu=v3 < %s | FileCheck %s +; RUN: llc -O2 -mtriple=bpfeb -mattr=+alu32 < %s | FileCheck %s +; RUN: llc -O2 -mtriple=bpfeb -mcpu=v3 < %s | FileCheck %s ; ; long zext(unsigned int a) ; { diff --git a/llvm/test/CodeGen/BPF/BTF/array-1d-char.ll b/llvm/test/CodeGen/BPF/BTF/array-1d-char.ll index c4d3e531af26..49e3663d8c5f 100644 --- a/llvm/test/CodeGen/BPF/BTF/array-1d-char.ll +++ b/llvm/test/CodeGen/BPF/BTF/array-1d-char.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; char a[10]; diff --git a/llvm/test/CodeGen/BPF/BTF/array-1d-int.ll b/llvm/test/CodeGen/BPF/BTF/array-1d-int.ll index 578b7db7ad4f..a38a45b713fd 100644 --- a/llvm/test/CodeGen/BPF/BTF/array-1d-int.ll +++ b/llvm/test/CodeGen/BPF/BTF/array-1d-int.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; int a[10]; diff --git a/llvm/test/CodeGen/BPF/BTF/array-2d-int.ll b/llvm/test/CodeGen/BPF/BTF/array-2d-int.ll index 70bc2cdc02f7..dbca7c57fff6 100644 --- a/llvm/test/CodeGen/BPF/BTF/array-2d-int.ll +++ b/llvm/test/CodeGen/BPF/BTF/array-2d-int.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; int a[10][10]; diff --git a/llvm/test/CodeGen/BPF/BTF/array-size-0.ll b/llvm/test/CodeGen/BPF/BTF/array-size-0.ll index 65a084187343..fc4f0e41a4c3 100644 --- a/llvm/test/CodeGen/BPF/BTF/array-size-0.ll +++ b/llvm/test/CodeGen/BPF/BTF/array-size-0.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; struct t {}; diff --git a/llvm/test/CodeGen/BPF/BTF/array-typedef.ll b/llvm/test/CodeGen/BPF/BTF/array-typedef.ll index 7f434627de0e..e5298e84a6cb 100644 --- a/llvm/test/CodeGen/BPF/BTF/array-typedef.ll +++ b/llvm/test/CodeGen/BPF/BTF/array-typedef.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; typedef unsigned _int; diff --git a/llvm/test/CodeGen/BPF/BTF/atomics.ll b/llvm/test/CodeGen/BPF/BTF/atomics.ll index 2c02110f24c0..4b7a0310ae85 100644 --- a/llvm/test/CodeGen/BPF/BTF/atomics.ll +++ b/llvm/test/CodeGen/BPF/BTF/atomics.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=bpfel -mcpu=v3 -filetype=obj -o %t1 %s +; RUN: llc -mtriple=bpfel -mcpu=v3 -filetype=obj -o %t1 %s ; RUN: llvm-objcopy --dump-section='.BTF'=%t2 %t1 ; RUN: %python %p/print_btf.py %t2 | FileCheck -check-prefixes=CHECK %s ; diff --git a/llvm/test/CodeGen/BPF/BTF/char-no-debuginfo.ll b/llvm/test/CodeGen/BPF/BTF/char-no-debuginfo.ll index c6a6d1209fb8..cc14a32b9811 100644 --- a/llvm/test/CodeGen/BPF/BTF/char-no-debuginfo.ll +++ b/llvm/test/CodeGen/BPF/BTF/char-no-debuginfo.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; int g __attribute__((section("maps"))) = 5; diff --git a/llvm/test/CodeGen/BPF/BTF/char.ll b/llvm/test/CodeGen/BPF/BTF/char.ll index 26ef59c82d81..fde6525c2a25 100644 --- a/llvm/test/CodeGen/BPF/BTF/char.ll +++ b/llvm/test/CodeGen/BPF/BTF/char.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; char a; diff --git a/llvm/test/CodeGen/BPF/BTF/double.ll b/llvm/test/CodeGen/BPF/BTF/double.ll index 655c3710d597..7f5698f4da16 100644 --- a/llvm/test/CodeGen/BPF/BTF/double.ll +++ b/llvm/test/CodeGen/BPF/BTF/double.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; double a; diff --git a/llvm/test/CodeGen/BPF/BTF/empty-btf.ll b/llvm/test/CodeGen/BPF/BTF/empty-btf.ll index b54df9ff765e..890618f1cc6c 100644 --- a/llvm/test/CodeGen/BPF/BTF/empty-btf.ll +++ b/llvm/test/CodeGen/BPF/BTF/empty-btf.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; int test(int arg) { return arg; } diff --git a/llvm/test/CodeGen/BPF/BTF/enum-basic.ll b/llvm/test/CodeGen/BPF/BTF/enum-basic.ll index 9a82a36c8975..afb4d83ce6d4 100644 --- a/llvm/test/CodeGen/BPF/BTF/enum-basic.ll +++ b/llvm/test/CodeGen/BPF/BTF/enum-basic.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; enum { A = -1, B = 2 } a; diff --git a/llvm/test/CodeGen/BPF/BTF/extern-builtin.ll b/llvm/test/CodeGen/BPF/BTF/extern-builtin.ll index c8a5d3bda050..a8550167de18 100644 --- a/llvm/test/CodeGen/BPF/BTF/extern-builtin.ll +++ b/llvm/test/CodeGen/BPF/BTF/extern-builtin.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; unsigned long long load_byte(ptr skb, ; unsigned long long off) asm("llvm.bpf.load.byte"); diff --git a/llvm/test/CodeGen/BPF/BTF/extern-func-arg.ll b/llvm/test/CodeGen/BPF/BTF/extern-func-arg.ll index cda24835907f..b7cbb48fc1f4 100644 --- a/llvm/test/CodeGen/BPF/BTF/extern-func-arg.ll +++ b/llvm/test/CodeGen/BPF/BTF/extern-func-arg.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; ; Source code: ; extern int global_func(char arg); diff --git a/llvm/test/CodeGen/BPF/BTF/extern-func-ptr.ll b/llvm/test/CodeGen/BPF/BTF/extern-func-ptr.ll index aba36e94461e..70d5b87283fa 100644 --- a/llvm/test/CodeGen/BPF/BTF/extern-func-ptr.ll +++ b/llvm/test/CodeGen/BPF/BTF/extern-func-ptr.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; ; Source code: ; extern int do_work(int) __attribute__((section(".callback_fn"))); diff --git a/llvm/test/CodeGen/BPF/BTF/extern-global-var.ll b/llvm/test/CodeGen/BPF/BTF/extern-global-var.ll index 6d520f0f7813..299aa1d94fdd 100644 --- a/llvm/test/CodeGen/BPF/BTF/extern-global-var.ll +++ b/llvm/test/CodeGen/BPF/BTF/extern-global-var.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; extern char a; diff --git a/llvm/test/CodeGen/BPF/BTF/extern-var-func-weak-section.ll b/llvm/test/CodeGen/BPF/BTF/extern-var-func-weak-section.ll index d47a9d6c504a..d11addd38747 100644 --- a/llvm/test/CodeGen/BPF/BTF/extern-var-func-weak-section.ll +++ b/llvm/test/CodeGen/BPF/BTF/extern-var-func-weak-section.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; ; Source code: ; extern int global_func(char c) __attribute__((weak, section("abc"))); diff --git a/llvm/test/CodeGen/BPF/BTF/extern-var-func-weak.ll b/llvm/test/CodeGen/BPF/BTF/extern-var-func-weak.ll index 984a936553a4..9e8229581253 100644 --- a/llvm/test/CodeGen/BPF/BTF/extern-var-func-weak.ll +++ b/llvm/test/CodeGen/BPF/BTF/extern-var-func-weak.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; ; Source code: ; extern int global_func(char c) __attribute__((weak)); diff --git a/llvm/test/CodeGen/BPF/BTF/extern-var-func.ll b/llvm/test/CodeGen/BPF/BTF/extern-var-func.ll index 61239befe36c..262abb39ca7a 100644 --- a/llvm/test/CodeGen/BPF/BTF/extern-var-func.ll +++ b/llvm/test/CodeGen/BPF/BTF/extern-var-func.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; ; Source code: ; extern int global_func(char c); diff --git a/llvm/test/CodeGen/BPF/BTF/extern-var-func2.ll b/llvm/test/CodeGen/BPF/BTF/extern-var-func2.ll index 700486d9f351..ffb05fb4e42e 100644 --- a/llvm/test/CodeGen/BPF/BTF/extern-var-func2.ll +++ b/llvm/test/CodeGen/BPF/BTF/extern-var-func2.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; ; Source code: ; extern int elsewhere(void); diff --git a/llvm/test/CodeGen/BPF/BTF/extern-var-section.ll b/llvm/test/CodeGen/BPF/BTF/extern-var-section.ll index 05bb10c1bbee..b6e14fcd5690 100644 --- a/llvm/test/CodeGen/BPF/BTF/extern-var-section.ll +++ b/llvm/test/CodeGen/BPF/BTF/extern-var-section.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; ; Source code: ; extern int global_func(char c) __attribute__((section("abc"))); diff --git a/llvm/test/CodeGen/BPF/BTF/extern-var-struct-weak.ll b/llvm/test/CodeGen/BPF/BTF/extern-var-struct-weak.ll index 570de14536a1..63ab57859714 100644 --- a/llvm/test/CodeGen/BPF/BTF/extern-var-struct-weak.ll +++ b/llvm/test/CodeGen/BPF/BTF/extern-var-struct-weak.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; ; Source code: ; typedef struct t1 { int f1; } __t1; diff --git a/llvm/test/CodeGen/BPF/BTF/extern-var-struct.ll b/llvm/test/CodeGen/BPF/BTF/extern-var-struct.ll index 5825e3967b5e..3ecda4f513b9 100644 --- a/llvm/test/CodeGen/BPF/BTF/extern-var-struct.ll +++ b/llvm/test/CodeGen/BPF/BTF/extern-var-struct.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; ; Source code: ; typedef struct t1 { int f1; } __t1; diff --git a/llvm/test/CodeGen/BPF/BTF/extern-var-weak-section.ll b/llvm/test/CodeGen/BPF/BTF/extern-var-weak-section.ll index d5b3eb6cb878..57ca18cdf12a 100644 --- a/llvm/test/CodeGen/BPF/BTF/extern-var-weak-section.ll +++ b/llvm/test/CodeGen/BPF/BTF/extern-var-weak-section.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; ; Source code: ; extern int global_func(char c) __attribute__((weak, section("abc"))); diff --git a/llvm/test/CodeGen/BPF/BTF/filename.ll b/llvm/test/CodeGen/BPF/BTF/filename.ll index 2ae03a64770e..ae08aea71b2c 100644 --- a/llvm/test/CodeGen/BPF/BTF/filename.ll +++ b/llvm/test/CodeGen/BPF/BTF/filename.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; int test() { return 0; } diff --git a/llvm/test/CodeGen/BPF/BTF/float.ll b/llvm/test/CodeGen/BPF/BTF/float.ll index a061263eed7d..8de7c1d1f803 100644 --- a/llvm/test/CodeGen/BPF/BTF/float.ll +++ b/llvm/test/CodeGen/BPF/BTF/float.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; float a; diff --git a/llvm/test/CodeGen/BPF/BTF/func-func-ptr.ll b/llvm/test/CodeGen/BPF/BTF/func-func-ptr.ll index ea93225e8d58..b700be9fd1be 100644 --- a/llvm/test/CodeGen/BPF/BTF/func-func-ptr.ll +++ b/llvm/test/CodeGen/BPF/BTF/func-func-ptr.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; void (*a1)(int p1); diff --git a/llvm/test/CodeGen/BPF/BTF/func-non-void.ll b/llvm/test/CodeGen/BPF/BTF/func-non-void.ll index 428dfac2e53d..2f562b209702 100644 --- a/llvm/test/CodeGen/BPF/BTF/func-non-void.ll +++ b/llvm/test/CodeGen/BPF/BTF/func-non-void.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; int f1(int a1) { return a1; } diff --git a/llvm/test/CodeGen/BPF/BTF/func-source.ll b/llvm/test/CodeGen/BPF/BTF/func-source.ll index 63814d766e6a..a485d2cf4a98 100644 --- a/llvm/test/CodeGen/BPF/BTF/func-source.ll +++ b/llvm/test/CodeGen/BPF/BTF/func-source.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; void f(void) { } diff --git a/llvm/test/CodeGen/BPF/BTF/func-typedef.ll b/llvm/test/CodeGen/BPF/BTF/func-typedef.ll index ac0813f8a342..25705366089d 100644 --- a/llvm/test/CodeGen/BPF/BTF/func-typedef.ll +++ b/llvm/test/CodeGen/BPF/BTF/func-typedef.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; typedef int _int; diff --git a/llvm/test/CodeGen/BPF/BTF/func-unused-arg.ll b/llvm/test/CodeGen/BPF/BTF/func-unused-arg.ll index 95c2f9d4e1c8..f9439e606ae8 100644 --- a/llvm/test/CodeGen/BPF/BTF/func-unused-arg.ll +++ b/llvm/test/CodeGen/BPF/BTF/func-unused-arg.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; int f1(int a1) { return 0; } diff --git a/llvm/test/CodeGen/BPF/BTF/func-void.ll b/llvm/test/CodeGen/BPF/BTF/func-void.ll index 94770dba455e..bf70b6a9d065 100644 --- a/llvm/test/CodeGen/BPF/BTF/func-void.ll +++ b/llvm/test/CodeGen/BPF/BTF/func-void.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; void f1(void) {} diff --git a/llvm/test/CodeGen/BPF/BTF/fwd-no-define.ll b/llvm/test/CodeGen/BPF/BTF/fwd-no-define.ll index 7ca91d99f013..34b4aa45de47 100644 --- a/llvm/test/CodeGen/BPF/BTF/fwd-no-define.ll +++ b/llvm/test/CodeGen/BPF/BTF/fwd-no-define.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; struct t1; diff --git a/llvm/test/CodeGen/BPF/BTF/fwd-with-define.ll b/llvm/test/CodeGen/BPF/BTF/fwd-with-define.ll index ac2f841f7ba1..7505141b5ac6 100644 --- a/llvm/test/CodeGen/BPF/BTF/fwd-with-define.ll +++ b/llvm/test/CodeGen/BPF/BTF/fwd-with-define.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; struct t1; diff --git a/llvm/test/CodeGen/BPF/BTF/global-var-bss-and-data.ll b/llvm/test/CodeGen/BPF/BTF/global-var-bss-and-data.ll index 7beaaee9fb4d..8d162132b151 100644 --- a/llvm/test/CodeGen/BPF/BTF/global-var-bss-and-data.ll +++ b/llvm/test/CodeGen/BPF/BTF/global-var-bss-and-data.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck %s ; Source code: ; struct s { int i; } __attribute__((aligned(16))); diff --git a/llvm/test/CodeGen/BPF/BTF/global-var-inited.ll b/llvm/test/CodeGen/BPF/BTF/global-var-inited.ll index d5f745076d66..dae0557e617c 100644 --- a/llvm/test/CodeGen/BPF/BTF/global-var-inited.ll +++ b/llvm/test/CodeGen/BPF/BTF/global-var-inited.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; int a = 3; diff --git a/llvm/test/CodeGen/BPF/BTF/global-var-sec-readonly.ll b/llvm/test/CodeGen/BPF/BTF/global-var-sec-readonly.ll index 79416711ffe3..b631790c08a5 100644 --- a/llvm/test/CodeGen/BPF/BTF/global-var-sec-readonly.ll +++ b/llvm/test/CodeGen/BPF/BTF/global-var-sec-readonly.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; const int gv1 __attribute__((section("maps"))); diff --git a/llvm/test/CodeGen/BPF/BTF/global-var-sec.ll b/llvm/test/CodeGen/BPF/BTF/global-var-sec.ll index ff7da2f33fe1..59f96d551862 100644 --- a/llvm/test/CodeGen/BPF/BTF/global-var-sec.ll +++ b/llvm/test/CodeGen/BPF/BTF/global-var-sec.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; int gv1 __attribute__((section("maps"))); diff --git a/llvm/test/CodeGen/BPF/BTF/incomplete-debuginfo.ll b/llvm/test/CodeGen/BPF/BTF/incomplete-debuginfo.ll index aa5167b6284f..dd52999a6342 100644 --- a/llvm/test/CodeGen/BPF/BTF/incomplete-debuginfo.ll +++ b/llvm/test/CodeGen/BPF/BTF/incomplete-debuginfo.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; ; Source code: ; unsigned long foo(void) { diff --git a/llvm/test/CodeGen/BPF/BTF/int.ll b/llvm/test/CodeGen/BPF/BTF/int.ll index 08cbaed80e7b..698032241831 100644 --- a/llvm/test/CodeGen/BPF/BTF/int.ll +++ b/llvm/test/CodeGen/BPF/BTF/int.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; int a; diff --git a/llvm/test/CodeGen/BPF/BTF/local-var-readonly-1.ll b/llvm/test/CodeGen/BPF/BTF/local-var-readonly-1.ll index d814ee9ee4ed..6ef7a3088310 100644 --- a/llvm/test/CodeGen/BPF/BTF/local-var-readonly-1.ll +++ b/llvm/test/CodeGen/BPF/BTF/local-var-readonly-1.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; ; Source: ; void foo(const ptr); diff --git a/llvm/test/CodeGen/BPF/BTF/local-var-readonly-2.ll b/llvm/test/CodeGen/BPF/BTF/local-var-readonly-2.ll index 798f3d615aeb..0e183a5c1427 100644 --- a/llvm/test/CodeGen/BPF/BTF/local-var-readonly-2.ll +++ b/llvm/test/CodeGen/BPF/BTF/local-var-readonly-2.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; ; Source: ; void foo(const ptr); diff --git a/llvm/test/CodeGen/BPF/BTF/local-var.ll b/llvm/test/CodeGen/BPF/BTF/local-var.ll index c1064cbfff30..dd79923b6b7b 100644 --- a/llvm/test/CodeGen/BPF/BTF/local-var.ll +++ b/llvm/test/CodeGen/BPF/BTF/local-var.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; int foo(char a) { volatile short b = 0; return b; } diff --git a/llvm/test/CodeGen/BPF/BTF/longlong.ll b/llvm/test/CodeGen/BPF/BTF/longlong.ll index 3e8c76da3893..59fefdb3677f 100644 --- a/llvm/test/CodeGen/BPF/BTF/longlong.ll +++ b/llvm/test/CodeGen/BPF/BTF/longlong.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; long long a; diff --git a/llvm/test/CodeGen/BPF/BTF/map-def-2.ll b/llvm/test/CodeGen/BPF/BTF/map-def-2.ll index 71069b436e35..5f971ec1314d 100644 --- a/llvm/test/CodeGen/BPF/BTF/map-def-2.ll +++ b/llvm/test/CodeGen/BPF/BTF/map-def-2.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; ; Source code: ; struct key_type { diff --git a/llvm/test/CodeGen/BPF/BTF/map-def-3.ll b/llvm/test/CodeGen/BPF/BTF/map-def-3.ll index e05470782ec2..6aa8af98493e 100644 --- a/llvm/test/CodeGen/BPF/BTF/map-def-3.ll +++ b/llvm/test/CodeGen/BPF/BTF/map-def-3.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; ; Source code: ; struct key_type { diff --git a/llvm/test/CodeGen/BPF/BTF/map-def.ll b/llvm/test/CodeGen/BPF/BTF/map-def.ll index d72e2462d2cd..a3835f1dae4b 100644 --- a/llvm/test/CodeGen/BPF/BTF/map-def.ll +++ b/llvm/test/CodeGen/BPF/BTF/map-def.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; struct key_type { diff --git a/llvm/test/CodeGen/BPF/BTF/pruning-const.ll b/llvm/test/CodeGen/BPF/BTF/pruning-const.ll index f41c9dddcd57..8fef9c2ad899 100644 --- a/llvm/test/CodeGen/BPF/BTF/pruning-const.ll +++ b/llvm/test/CodeGen/BPF/BTF/pruning-const.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source: ; struct tt; ; struct s1 { const struct tt *mp; }; diff --git a/llvm/test/CodeGen/BPF/BTF/pruning-dup-ptr-struct.ll b/llvm/test/CodeGen/BPF/BTF/pruning-dup-ptr-struct.ll index 1d9993727a6f..2817b9a30f02 100644 --- a/llvm/test/CodeGen/BPF/BTF/pruning-dup-ptr-struct.ll +++ b/llvm/test/CodeGen/BPF/BTF/pruning-dup-ptr-struct.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -o - %s | FileCheck %s -; RUN: llc -march=bpfeb -o - %s | FileCheck %s +; RUN: llc -mtriple=bpfel -o - %s | FileCheck %s +; RUN: llc -mtriple=bpfeb -o - %s | FileCheck %s ; Source: ; struct t1 { ; int a; diff --git a/llvm/test/CodeGen/BPF/BTF/pruning-multi-derived-type.ll b/llvm/test/CodeGen/BPF/BTF/pruning-multi-derived-type.ll index 4d5e9f61f91c..213f810e6f6e 100644 --- a/llvm/test/CodeGen/BPF/BTF/pruning-multi-derived-type.ll +++ b/llvm/test/CodeGen/BPF/BTF/pruning-multi-derived-type.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source: ; struct t1 { ; int a; diff --git a/llvm/test/CodeGen/BPF/BTF/pruning-typedef.ll b/llvm/test/CodeGen/BPF/BTF/pruning-typedef.ll index c12a40f8247d..4c8aa1fbed61 100644 --- a/llvm/test/CodeGen/BPF/BTF/pruning-typedef.ll +++ b/llvm/test/CodeGen/BPF/BTF/pruning-typedef.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source: ; struct tt; ; typedef struct tt _tt; diff --git a/llvm/test/CodeGen/BPF/BTF/ptr-const-void.ll b/llvm/test/CodeGen/BPF/BTF/ptr-const-void.ll index 8b107283a0a5..b07694989a55 100644 --- a/llvm/test/CodeGen/BPF/BTF/ptr-const-void.ll +++ b/llvm/test/CodeGen/BPF/BTF/ptr-const-void.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; const ptr a; diff --git a/llvm/test/CodeGen/BPF/BTF/ptr-func-1.ll b/llvm/test/CodeGen/BPF/BTF/ptr-func-1.ll index 52da3cbd7915..70b8e35b0558 100644 --- a/llvm/test/CodeGen/BPF/BTF/ptr-func-1.ll +++ b/llvm/test/CodeGen/BPF/BTF/ptr-func-1.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; void (*a)(void); diff --git a/llvm/test/CodeGen/BPF/BTF/ptr-func-2.ll b/llvm/test/CodeGen/BPF/BTF/ptr-func-2.ll index 7976bfa1e280..6a93edac59ed 100644 --- a/llvm/test/CodeGen/BPF/BTF/ptr-func-2.ll +++ b/llvm/test/CodeGen/BPF/BTF/ptr-func-2.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; int (*a)(int a, char b); diff --git a/llvm/test/CodeGen/BPF/BTF/ptr-func-3.ll b/llvm/test/CodeGen/BPF/BTF/ptr-func-3.ll index ff3b04a600d6..bf716e13d7cd 100644 --- a/llvm/test/CodeGen/BPF/BTF/ptr-func-3.ll +++ b/llvm/test/CodeGen/BPF/BTF/ptr-func-3.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; typedef int __int; diff --git a/llvm/test/CodeGen/BPF/BTF/ptr-int.ll b/llvm/test/CodeGen/BPF/BTF/ptr-int.ll index 4e25dd5a1a90..c02047f7d019 100644 --- a/llvm/test/CodeGen/BPF/BTF/ptr-int.ll +++ b/llvm/test/CodeGen/BPF/BTF/ptr-int.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; int *a; diff --git a/llvm/test/CodeGen/BPF/BTF/ptr-prune-type.ll b/llvm/test/CodeGen/BPF/BTF/ptr-prune-type.ll index 2443eaecce29..7b36e01c9908 100644 --- a/llvm/test/CodeGen/BPF/BTF/ptr-prune-type.ll +++ b/llvm/test/CodeGen/BPF/BTF/ptr-prune-type.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; struct t { diff --git a/llvm/test/CodeGen/BPF/BTF/ptr-void.ll b/llvm/test/CodeGen/BPF/BTF/ptr-void.ll index 7ea2c26464d3..0d8abafbcca2 100644 --- a/llvm/test/CodeGen/BPF/BTF/ptr-void.ll +++ b/llvm/test/CodeGen/BPF/BTF/ptr-void.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; ptr a; diff --git a/llvm/test/CodeGen/BPF/BTF/ptr-volatile-const-void.ll b/llvm/test/CodeGen/BPF/BTF/ptr-volatile-const-void.ll index 8cb7c683b29f..58b25cba1025 100644 --- a/llvm/test/CodeGen/BPF/BTF/ptr-volatile-const-void.ll +++ b/llvm/test/CodeGen/BPF/BTF/ptr-volatile-const-void.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; volatile const ptr p; diff --git a/llvm/test/CodeGen/BPF/BTF/ptr-volatile-void.ll b/llvm/test/CodeGen/BPF/BTF/ptr-volatile-void.ll index 120b54a0bdd3..a0f59be6015f 100644 --- a/llvm/test/CodeGen/BPF/BTF/ptr-volatile-void.ll +++ b/llvm/test/CodeGen/BPF/BTF/ptr-volatile-void.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; volatile ptr a; diff --git a/llvm/test/CodeGen/BPF/BTF/restrict-ptr.ll b/llvm/test/CodeGen/BPF/BTF/restrict-ptr.ll index 9536f6397453..03f454894280 100644 --- a/llvm/test/CodeGen/BPF/BTF/restrict-ptr.ll +++ b/llvm/test/CodeGen/BPF/BTF/restrict-ptr.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; int * restrict p; diff --git a/llvm/test/CodeGen/BPF/BTF/short.ll b/llvm/test/CodeGen/BPF/BTF/short.ll index 899f149ffcd6..e487249f24e9 100644 --- a/llvm/test/CodeGen/BPF/BTF/short.ll +++ b/llvm/test/CodeGen/BPF/BTF/short.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; short a; diff --git a/llvm/test/CodeGen/BPF/BTF/static-func.ll b/llvm/test/CodeGen/BPF/BTF/static-func.ll index 9227cf0667c6..fc79dbf4dbaf 100644 --- a/llvm/test/CodeGen/BPF/BTF/static-func.ll +++ b/llvm/test/CodeGen/BPF/BTF/static-func.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; ; Source code: ; extern int foo(void); diff --git a/llvm/test/CodeGen/BPF/BTF/static-var-derived-type.ll b/llvm/test/CodeGen/BPF/BTF/static-var-derived-type.ll index aa8ae5d681e4..1827c97c9e29 100644 --- a/llvm/test/CodeGen/BPF/BTF/static-var-derived-type.ll +++ b/llvm/test/CodeGen/BPF/BTF/static-var-derived-type.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; typedef int * int_ptr; diff --git a/llvm/test/CodeGen/BPF/BTF/static-var-inited-sec.ll b/llvm/test/CodeGen/BPF/BTF/static-var-inited-sec.ll index cfea2b7a51b8..cc785b78c5df 100644 --- a/llvm/test/CodeGen/BPF/BTF/static-var-inited-sec.ll +++ b/llvm/test/CodeGen/BPF/BTF/static-var-inited-sec.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; static volatile char a __attribute__((section("maps"))) = 3; diff --git a/llvm/test/CodeGen/BPF/BTF/static-var-inited.ll b/llvm/test/CodeGen/BPF/BTF/static-var-inited.ll index 4dac018336e2..2b62882b3224 100644 --- a/llvm/test/CodeGen/BPF/BTF/static-var-inited.ll +++ b/llvm/test/CodeGen/BPF/BTF/static-var-inited.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; static volatile char a = 3; diff --git a/llvm/test/CodeGen/BPF/BTF/static-var-readonly-sec.ll b/llvm/test/CodeGen/BPF/BTF/static-var-readonly-sec.ll index 90f9c766e1d8..a4ae94827369 100644 --- a/llvm/test/CodeGen/BPF/BTF/static-var-readonly-sec.ll +++ b/llvm/test/CodeGen/BPF/BTF/static-var-readonly-sec.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; static volatile const char __attribute__((section("maps"))) a; diff --git a/llvm/test/CodeGen/BPF/BTF/static-var-readonly.ll b/llvm/test/CodeGen/BPF/BTF/static-var-readonly.ll index 78a0149a3625..a9d60ce8d413 100644 --- a/llvm/test/CodeGen/BPF/BTF/static-var-readonly.ll +++ b/llvm/test/CodeGen/BPF/BTF/static-var-readonly.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; static volatile const char a; diff --git a/llvm/test/CodeGen/BPF/BTF/static-var-sec.ll b/llvm/test/CodeGen/BPF/BTF/static-var-sec.ll index 77f818f58471..ac27b2bbe19b 100644 --- a/llvm/test/CodeGen/BPF/BTF/static-var-sec.ll +++ b/llvm/test/CodeGen/BPF/BTF/static-var-sec.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; static volatile char a __attribute__((section("maps"))); diff --git a/llvm/test/CodeGen/BPF/BTF/static-var-zerolen-array.ll b/llvm/test/CodeGen/BPF/BTF/static-var-zerolen-array.ll index 1ee1a174e6a5..28da203409ea 100644 --- a/llvm/test/CodeGen/BPF/BTF/static-var-zerolen-array.ll +++ b/llvm/test/CodeGen/BPF/BTF/static-var-zerolen-array.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; struct t { diff --git a/llvm/test/CodeGen/BPF/BTF/static-var.ll b/llvm/test/CodeGen/BPF/BTF/static-var.ll index 0d6a229218e5..461bd27a366d 100644 --- a/llvm/test/CodeGen/BPF/BTF/static-var.ll +++ b/llvm/test/CodeGen/BPF/BTF/static-var.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; static volatile char a; diff --git a/llvm/test/CodeGen/BPF/BTF/struct-anon-2.ll b/llvm/test/CodeGen/BPF/BTF/struct-anon-2.ll index 8cb168ce88a2..5b125ea8673e 100644 --- a/llvm/test/CodeGen/BPF/BTF/struct-anon-2.ll +++ b/llvm/test/CodeGen/BPF/BTF/struct-anon-2.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; ; Source: ; struct s1 { diff --git a/llvm/test/CodeGen/BPF/BTF/struct-anon.ll b/llvm/test/CodeGen/BPF/BTF/struct-anon.ll index 1728b2cfe10e..d2cbe7e8c419 100644 --- a/llvm/test/CodeGen/BPF/BTF/struct-anon.ll +++ b/llvm/test/CodeGen/BPF/BTF/struct-anon.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; struct { struct {int m;}; } a; diff --git a/llvm/test/CodeGen/BPF/BTF/struct-basic.ll b/llvm/test/CodeGen/BPF/BTF/struct-basic.ll index bdeadc27a4ea..0ec666336064 100644 --- a/llvm/test/CodeGen/BPF/BTF/struct-basic.ll +++ b/llvm/test/CodeGen/BPF/BTF/struct-basic.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; struct t1 {char m1; int n1;} a; diff --git a/llvm/test/CodeGen/BPF/BTF/struct-bitfield-typedef.ll b/llvm/test/CodeGen/BPF/BTF/struct-bitfield-typedef.ll index ae246b59855a..00ef752c7b7d 100644 --- a/llvm/test/CodeGen/BPF/BTF/struct-bitfield-typedef.ll +++ b/llvm/test/CodeGen/BPF/BTF/struct-bitfield-typedef.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; typedef int _int; diff --git a/llvm/test/CodeGen/BPF/BTF/struct-enum.ll b/llvm/test/CodeGen/BPF/BTF/struct-enum.ll index cf667c781599..6160edfdc046 100644 --- a/llvm/test/CodeGen/BPF/BTF/struct-enum.ll +++ b/llvm/test/CodeGen/BPF/BTF/struct-enum.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; enum t1 { A , B }; diff --git a/llvm/test/CodeGen/BPF/BTF/tag-1.ll b/llvm/test/CodeGen/BPF/BTF/tag-1.ll index c2d9eb967d0b..67060cd0e547 100644 --- a/llvm/test/CodeGen/BPF/BTF/tag-1.ll +++ b/llvm/test/CodeGen/BPF/BTF/tag-1.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; #define __tag1 __attribute__((btf_decl_tag("tag1"))) diff --git a/llvm/test/CodeGen/BPF/BTF/tag-2.ll b/llvm/test/CodeGen/BPF/BTF/tag-2.ll index eaf6f234a2fb..3393df0c4de0 100644 --- a/llvm/test/CodeGen/BPF/BTF/tag-2.ll +++ b/llvm/test/CodeGen/BPF/BTF/tag-2.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; #define __tag1 __attribute__((btf_decl_tag("tag1"))) diff --git a/llvm/test/CodeGen/BPF/BTF/tag-extern-func.ll b/llvm/test/CodeGen/BPF/BTF/tag-extern-func.ll index f10063c5569e..19a9c0f88dfd 100644 --- a/llvm/test/CodeGen/BPF/BTF/tag-extern-func.ll +++ b/llvm/test/CodeGen/BPF/BTF/tag-extern-func.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; #define __tag(x) __attribute__((btf_decl_tag(x))) diff --git a/llvm/test/CodeGen/BPF/BTF/tag-typedef.ll b/llvm/test/CodeGen/BPF/BTF/tag-typedef.ll index 80031410c2bc..45b03a7e7d10 100644 --- a/llvm/test/CodeGen/BPF/BTF/tag-typedef.ll +++ b/llvm/test/CodeGen/BPF/BTF/tag-typedef.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; #define __tag1 __attribute__((btf_decl_tag("tag1"))) diff --git a/llvm/test/CodeGen/BPF/BTF/type-tag-fixup-fwd.ll b/llvm/test/CodeGen/BPF/BTF/type-tag-fixup-fwd.ll index b03d23383a0e..25bcc46d9afc 100644 --- a/llvm/test/CodeGen/BPF/BTF/type-tag-fixup-fwd.ll +++ b/llvm/test/CodeGen/BPF/BTF/type-tag-fixup-fwd.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; ; Source: ; #define __tag1 __attribute__((btf_type_tag("tag1"))) diff --git a/llvm/test/CodeGen/BPF/BTF/type-tag-fixup-resolved.ll b/llvm/test/CodeGen/BPF/BTF/type-tag-fixup-resolved.ll index 21c74afeaa96..139a6a65f4ce 100644 --- a/llvm/test/CodeGen/BPF/BTF/type-tag-fixup-resolved.ll +++ b/llvm/test/CodeGen/BPF/BTF/type-tag-fixup-resolved.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; ; Source: ; #define __tag1 __attribute__((btf_type_tag("tag1"))) diff --git a/llvm/test/CodeGen/BPF/BTF/type-tag-var.ll b/llvm/test/CodeGen/BPF/BTF/type-tag-var.ll index 61d3705ff34d..c909444023a7 100644 --- a/llvm/test/CodeGen/BPF/BTF/type-tag-var.ll +++ b/llvm/test/CodeGen/BPF/BTF/type-tag-var.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; ; Source: ; #define __tag1 __attribute__((btf_type_tag("tag1"))) diff --git a/llvm/test/CodeGen/BPF/BTF/uchar.ll b/llvm/test/CodeGen/BPF/BTF/uchar.ll index 2e31f2c388b4..2bdcb3d38218 100644 --- a/llvm/test/CodeGen/BPF/BTF/uchar.ll +++ b/llvm/test/CodeGen/BPF/BTF/uchar.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; unsigned char a; diff --git a/llvm/test/CodeGen/BPF/BTF/uint.ll b/llvm/test/CodeGen/BPF/BTF/uint.ll index e97d5f54001f..d8bb0eca858c 100644 --- a/llvm/test/CodeGen/BPF/BTF/uint.ll +++ b/llvm/test/CodeGen/BPF/BTF/uint.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; unsigned a; diff --git a/llvm/test/CodeGen/BPF/BTF/ulonglong.ll b/llvm/test/CodeGen/BPF/BTF/ulonglong.ll index 93a8c221ba0d..12820db48ede 100644 --- a/llvm/test/CodeGen/BPF/BTF/ulonglong.ll +++ b/llvm/test/CodeGen/BPF/BTF/ulonglong.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; unsigned long long a; diff --git a/llvm/test/CodeGen/BPF/BTF/union-array-typedef.ll b/llvm/test/CodeGen/BPF/BTF/union-array-typedef.ll index 056489ea62d2..a46b9de6c704 100644 --- a/llvm/test/CodeGen/BPF/BTF/union-array-typedef.ll +++ b/llvm/test/CodeGen/BPF/BTF/union-array-typedef.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; typedef int _int; diff --git a/llvm/test/CodeGen/BPF/BTF/ushort.ll b/llvm/test/CodeGen/BPF/BTF/ushort.ll index dd4ccdf5a679..f4853fd61c3e 100644 --- a/llvm/test/CodeGen/BPF/BTF/ushort.ll +++ b/llvm/test/CodeGen/BPF/BTF/ushort.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source code: ; unsigned short a; diff --git a/llvm/test/CodeGen/BPF/BTF/weak-global-2.ll b/llvm/test/CodeGen/BPF/BTF/weak-global-2.ll index 314058439dca..4b3b55789f8d 100644 --- a/llvm/test/CodeGen/BPF/BTF/weak-global-2.ll +++ b/llvm/test/CodeGen/BPF/BTF/weak-global-2.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; ; Source code: ; char g __attribute__((weak)) = 2; diff --git a/llvm/test/CodeGen/BPF/BTF/weak-global-3.ll b/llvm/test/CodeGen/BPF/BTF/weak-global-3.ll index e019775f11ce..8178c92fb34c 100644 --- a/llvm/test/CodeGen/BPF/BTF/weak-global-3.ll +++ b/llvm/test/CodeGen/BPF/BTF/weak-global-3.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; ; Source code: ; const volatile char g __attribute__((weak)) = 2; diff --git a/llvm/test/CodeGen/BPF/BTF/weak-global.ll b/llvm/test/CodeGen/BPF/BTF/weak-global.ll index 7d92d606650d..ea0a88741037 100644 --- a/llvm/test/CodeGen/BPF/BTF/weak-global.ll +++ b/llvm/test/CodeGen/BPF/BTF/weak-global.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s -; RUN: llc -march=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfeb -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; ; Source code: ; char g __attribute__((weak)); diff --git a/llvm/test/CodeGen/BPF/CORE/field-reloc-st-imm.ll b/llvm/test/CodeGen/BPF/CORE/field-reloc-st-imm.ll index 73a8903298a1..ac4d9d628bad 100644 --- a/llvm/test/CodeGen/BPF/CORE/field-reloc-st-imm.ll +++ b/llvm/test/CodeGen/BPF/CORE/field-reloc-st-imm.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=bpfel -mcpu=v4 < %s | FileCheck %s +; RUN: llc -mtriple=bpfel -mcpu=v4 < %s | FileCheck %s ; Make sure that CO-RE relocations had been generated correctly for ; BPF_ST (store immediate) instructions and that diff --git a/llvm/test/CodeGen/BPF/CORE/simplifypatable-nullptr.ll b/llvm/test/CodeGen/BPF/CORE/simplifypatable-nullptr.ll index 85eda30add85..93c05077fe5b 100644 --- a/llvm/test/CodeGen/BPF/CORE/simplifypatable-nullptr.ll +++ b/llvm/test/CodeGen/BPF/CORE/simplifypatable-nullptr.ll @@ -1,4 +1,4 @@ -; RUN: llc -O2 -march=bpf -mcpu=v3 < %s | FileCheck %s +; RUN: llc -O2 -mtriple=bpf -mcpu=v3 < %s | FileCheck %s ; Source code: ; struct t3 { ; int i; diff --git a/llvm/test/CodeGen/BPF/addr-space-cast.ll b/llvm/test/CodeGen/BPF/addr-space-cast.ll index ad2860d8038e..5cf2a68fc91c 100644 --- a/llvm/test/CodeGen/BPF/addr-space-cast.ll +++ b/llvm/test/CodeGen/BPF/addr-space-cast.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 4 -; RUN: llc -march=bpfel -mcpu=v4 -filetype=asm -show-mc-encoding < %s | FileCheck %s +; RUN: llc -mtriple=bpfel -mcpu=v4 -filetype=asm -show-mc-encoding < %s | FileCheck %s define ptr addrspace(1) @foo(ptr %p) { ; CHECK-LABEL: foo: diff --git a/llvm/test/CodeGen/BPF/addr-space-globals.ll b/llvm/test/CodeGen/BPF/addr-space-globals.ll index 73e80b7a0400..6db2d265810d 100644 --- a/llvm/test/CodeGen/BPF/addr-space-globals.ll +++ b/llvm/test/CodeGen/BPF/addr-space-globals.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=bpfel -mcpu=v4 < %s | FileCheck %s +; RUN: llc -mtriple=bpfel -mcpu=v4 < %s | FileCheck %s ; Generated from the following C code: ; diff --git a/llvm/test/CodeGen/BPF/addr-space-globals2.ll b/llvm/test/CodeGen/BPF/addr-space-globals2.ll index 5944cb27ee18..0d7f3958256c 100644 --- a/llvm/test/CodeGen/BPF/addr-space-globals2.ll +++ b/llvm/test/CodeGen/BPF/addr-space-globals2.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=bpfel -mcpu=v4 < %s | FileCheck %s +; RUN: llc -mtriple=bpfel -mcpu=v4 < %s | FileCheck %s ; Generated from the following C code: ; diff --git a/llvm/test/CodeGen/BPF/alu8.ll b/llvm/test/CodeGen/BPF/alu8.ll index 21a1dd37253f..5a0b0008ae09 100644 --- a/llvm/test/CodeGen/BPF/alu8.ll +++ b/llvm/test/CodeGen/BPF/alu8.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=bpfel -mcpu=v1 -show-mc-encoding < %s | FileCheck %s +; RUN: llc -mtriple=bpfel -mcpu=v1 -show-mc-encoding < %s | FileCheck %s define i8 @mov(i8 %a, i8 %b) nounwind { ; CHECK-LABEL: mov: diff --git a/llvm/test/CodeGen/BPF/atomics.ll b/llvm/test/CodeGen/BPF/atomics.ll index bc466c23c262..a149037f8974 100644 --- a/llvm/test/CodeGen/BPF/atomics.ll +++ b/llvm/test/CodeGen/BPF/atomics.ll @@ -1,5 +1,5 @@ -; RUN: llc < %s -march=bpfel -verify-machineinstrs -show-mc-encoding -mcpu=v1 | FileCheck %s -; RUN: llc < %s -march=bpfel -verify-machineinstrs -show-mc-encoding -mcpu=v3 | FileCheck --check-prefix=CHECK-V3 %s +; RUN: llc < %s -mtriple=bpfel -verify-machineinstrs -show-mc-encoding -mcpu=v1 | FileCheck %s +; RUN: llc < %s -mtriple=bpfel -verify-machineinstrs -show-mc-encoding -mcpu=v3 | FileCheck --check-prefix=CHECK-V3 %s ; CHECK-LABEL: test_load_add_32 ; CHECK: lock *(u32 *)(r1 + 0) += r2 diff --git a/llvm/test/CodeGen/BPF/atomics_2.ll b/llvm/test/CodeGen/BPF/atomics_2.ll index 6371e3b87563..b99ea441ef2b 100644 --- a/llvm/test/CodeGen/BPF/atomics_2.ll +++ b/llvm/test/CodeGen/BPF/atomics_2.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=bpfel -mcpu=v3 -verify-machineinstrs -show-mc-encoding | FileCheck %s +; RUN: llc < %s -mtriple=bpfel -mcpu=v3 -verify-machineinstrs -show-mc-encoding | FileCheck %s ; ; Source: ; int test_load_add_32(int *p, int v) { diff --git a/llvm/test/CodeGen/BPF/atomics_mem_order_v1.ll b/llvm/test/CodeGen/BPF/atomics_mem_order_v1.ll index 31081586bf7a..9da127ce8b5c 100644 --- a/llvm/test/CodeGen/BPF/atomics_mem_order_v1.ll +++ b/llvm/test/CodeGen/BPF/atomics_mem_order_v1.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5 -; RUN: llc -march=bpfel -mcpu=v1 -filetype=asm < %s | FileCheck %s +; RUN: llc -mtriple=bpfel -mcpu=v1 -filetype=asm < %s | FileCheck %s ; ; Source: ; $ cat atomics_mem_order_v1.c diff --git a/llvm/test/CodeGen/BPF/atomics_mem_order_v3.ll b/llvm/test/CodeGen/BPF/atomics_mem_order_v3.ll index 20b9ebcb0d47..76475ac12498 100644 --- a/llvm/test/CodeGen/BPF/atomics_mem_order_v3.ll +++ b/llvm/test/CodeGen/BPF/atomics_mem_order_v3.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5 -; RUN: llc -march=bpfel -mcpu=v3 -filetype=asm < %s | FileCheck %s +; RUN: llc -mtriple=bpfel -mcpu=v3 -filetype=asm < %s | FileCheck %s ; ; Source: ; $ cat atomics_mem_order_v3.c diff --git a/llvm/test/CodeGen/BPF/atomics_sub64_relaxed_v1.ll b/llvm/test/CodeGen/BPF/atomics_sub64_relaxed_v1.ll index 4d630d475b29..1216bda95996 100644 --- a/llvm/test/CodeGen/BPF/atomics_sub64_relaxed_v1.ll +++ b/llvm/test/CodeGen/BPF/atomics_sub64_relaxed_v1.ll @@ -1,4 +1,4 @@ -; RUN: not llc -march=bpfel -mcpu=v1 -filetype=asm < %s +; RUN: not llc -mtriple=bpfel -mcpu=v1 -filetype=asm < %s ; ; Source: ; $ cat atomics_sub64_relaxed_v1.c diff --git a/llvm/test/CodeGen/BPF/basictest.ll b/llvm/test/CodeGen/BPF/basictest.ll index fdcd706ecaf1..68698262d45e 100644 --- a/llvm/test/CodeGen/BPF/basictest.ll +++ b/llvm/test/CodeGen/BPF/basictest.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=bpfel -mcpu=v1 | FileCheck %s +; RUN: llc < %s -mtriple=bpfel -mcpu=v1 | FileCheck %s define i32 @test0(i32 %X) { %tmp.1 = add i32 %X, 1 diff --git a/llvm/test/CodeGen/BPF/bpf-fastcall-1.ll b/llvm/test/CodeGen/BPF/bpf-fastcall-1.ll index fd81314a495e..f3e9f9e8dee7 100644 --- a/llvm/test/CodeGen/BPF/bpf-fastcall-1.ll +++ b/llvm/test/CodeGen/BPF/bpf-fastcall-1.ll @@ -1,4 +1,4 @@ -; RUN: llc -O2 --march=bpfel %s -o - | FileCheck %s +; RUN: llc -O2 --mtriple=bpfel %s -o - | FileCheck %s ; Generated from the following C code: ; diff --git a/llvm/test/CodeGen/BPF/bpf-fastcall-2.ll b/llvm/test/CodeGen/BPF/bpf-fastcall-2.ll index 971d5c6cd774..6391d011d631 100644 --- a/llvm/test/CodeGen/BPF/bpf-fastcall-2.ll +++ b/llvm/test/CodeGen/BPF/bpf-fastcall-2.ll @@ -1,4 +1,4 @@ -; RUN: llc -O2 --march=bpfel -mcpu=v1 %s -o - | FileCheck %s +; RUN: llc -O2 --mtriple=bpfel -mcpu=v1 %s -o - | FileCheck %s ; Generated from the following C code: ; diff --git a/llvm/test/CodeGen/BPF/bpf-fastcall-3.ll b/llvm/test/CodeGen/BPF/bpf-fastcall-3.ll index 81ca4e1ac57b..6340be30b128 100644 --- a/llvm/test/CodeGen/BPF/bpf-fastcall-3.ll +++ b/llvm/test/CodeGen/BPF/bpf-fastcall-3.ll @@ -1,4 +1,4 @@ -; RUN: llc -O2 --march=bpfel %s -o - | FileCheck %s +; RUN: llc -O2 --mtriple=bpfel %s -o - | FileCheck %s ; Generated from the following C code: ; diff --git a/llvm/test/CodeGen/BPF/bpf-fastcall-4.ll b/llvm/test/CodeGen/BPF/bpf-fastcall-4.ll index 4f0c9fc94aa9..e67350690a48 100644 --- a/llvm/test/CodeGen/BPF/bpf-fastcall-4.ll +++ b/llvm/test/CodeGen/BPF/bpf-fastcall-4.ll @@ -1,4 +1,4 @@ -; RUN: llc -O2 --march=bpfel %s -o - | FileCheck %s +; RUN: llc -O2 --mtriple=bpfel %s -o - | FileCheck %s ; Generated from the following C code: ; diff --git a/llvm/test/CodeGen/BPF/bpf-fastcall-5.ll b/llvm/test/CodeGen/BPF/bpf-fastcall-5.ll index 608ab4a0bb0c..62dd6c3ed50b 100644 --- a/llvm/test/CodeGen/BPF/bpf-fastcall-5.ll +++ b/llvm/test/CodeGen/BPF/bpf-fastcall-5.ll @@ -1,4 +1,4 @@ -; RUN: llc -O2 --march=bpfel %s -o - | FileCheck %s +; RUN: llc -O2 --mtriple=bpfel %s -o - | FileCheck %s ; Generated from the following C code: ; diff --git a/llvm/test/CodeGen/BPF/bpf-fastcall-regmask-1.ll b/llvm/test/CodeGen/BPF/bpf-fastcall-regmask-1.ll index 857d2f000d1d..431aaef1233a 100644 --- a/llvm/test/CodeGen/BPF/bpf-fastcall-regmask-1.ll +++ b/llvm/test/CodeGen/BPF/bpf-fastcall-regmask-1.ll @@ -1,4 +1,4 @@ -; RUN: llc -O2 --march=bpfel \ +; RUN: llc -O2 --mtriple=bpfel \ ; RUN: -print-after=stack-slot-coloring %s \ ; RUN: -o /dev/null 2>&1 | FileCheck %s diff --git a/llvm/test/CodeGen/BPF/bswap.ll b/llvm/test/CodeGen/BPF/bswap.ll index 86257ef62171..2b467881b331 100644 --- a/llvm/test/CodeGen/BPF/bswap.ll +++ b/llvm/test/CodeGen/BPF/bswap.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=bpfel -mcpu=v4 -verify-machineinstrs -show-mc-encoding < %s | FileCheck %s +; RUN: llc -mtriple=bpfel -mcpu=v4 -verify-machineinstrs -show-mc-encoding < %s | FileCheck %s ; Source: ; long foo(int a, int b, long c) { ; a = __builtin_bswap16(a); diff --git a/llvm/test/CodeGen/BPF/byval.ll b/llvm/test/CodeGen/BPF/byval.ll index b7ff89fd3013..8e04695934d2 100644 --- a/llvm/test/CodeGen/BPF/byval.ll +++ b/llvm/test/CodeGen/BPF/byval.ll @@ -1,4 +1,4 @@ -; RUN: not llc -march=bpf < %s 2> %t1 +; RUN: not llc -mtriple=bpf < %s 2> %t1 ; RUN: FileCheck %s < %t1 ; CHECK: by value not supported diff --git a/llvm/test/CodeGen/BPF/callx.ll b/llvm/test/CodeGen/BPF/callx.ll index a015cf91a378..d83e0f6888ac 100644 --- a/llvm/test/CodeGen/BPF/callx.ll +++ b/llvm/test/CodeGen/BPF/callx.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=bpfel | FileCheck %s +; RUN: llc < %s -mtriple=bpfel | FileCheck %s ; source: ; int test(int (*f)(void)) { return f(); } diff --git a/llvm/test/CodeGen/BPF/cc_args.ll b/llvm/test/CodeGen/BPF/cc_args.ll index 0752469ecc24..11d4c62e3a56 100644 --- a/llvm/test/CodeGen/BPF/cc_args.ll +++ b/llvm/test/CodeGen/BPF/cc_args.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=bpfel -mcpu=v1 -show-mc-encoding | FileCheck %s +; RUN: llc < %s -mtriple=bpfel -mcpu=v1 -show-mc-encoding | FileCheck %s define void @test() #0 { entry: diff --git a/llvm/test/CodeGen/BPF/cc_args_be.ll b/llvm/test/CodeGen/BPF/cc_args_be.ll index ae32d3cfb6d9..88b09382cfee 100644 --- a/llvm/test/CodeGen/BPF/cc_args_be.ll +++ b/llvm/test/CodeGen/BPF/cc_args_be.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=bpfeb -mcpu=v1 -show-mc-encoding | FileCheck %s +; RUN: llc < %s -mtriple=bpfeb -mcpu=v1 -show-mc-encoding | FileCheck %s ; test big endian define void @test() #0 { diff --git a/llvm/test/CodeGen/BPF/cc_ret.ll b/llvm/test/CodeGen/BPF/cc_ret.ll index 7f5d1f29c0e8..f82b644d9fcd 100644 --- a/llvm/test/CodeGen/BPF/cc_ret.ll +++ b/llvm/test/CodeGen/BPF/cc_ret.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=bpfel -mcpu=v1 | FileCheck %s +; RUN: llc < %s -mtriple=bpfel -mcpu=v1 | FileCheck %s define void @test() #0 { entry: diff --git a/llvm/test/CodeGen/BPF/cmp.ll b/llvm/test/CodeGen/BPF/cmp.ll index 119539cdded5..3787526f1e83 100644 --- a/llvm/test/CodeGen/BPF/cmp.ll +++ b/llvm/test/CodeGen/BPF/cmp.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=bpf -mcpu=v1 | FileCheck %s +; RUN: llc < %s -mtriple=bpf -mcpu=v1 | FileCheck %s ; Function Attrs: nounwind readnone uwtable define signext i8 @foo_cmp1(i8 signext %a, i8 signext %b) #0 { diff --git a/llvm/test/CodeGen/BPF/cttz-ctlz.ll b/llvm/test/CodeGen/BPF/cttz-ctlz.ll index e0bc90aea368..865833590a39 100644 --- a/llvm/test/CodeGen/BPF/cttz-ctlz.ll +++ b/llvm/test/CodeGen/BPF/cttz-ctlz.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 4 -; RUN: llc < %s -march=bpf -mcpu=v1 | FileCheck %s +; RUN: llc < %s -mtriple=bpf -mcpu=v1 | FileCheck %s ; test that we can expand CTTZ & CTLZ diff --git a/llvm/test/CodeGen/BPF/dwarfdump.ll b/llvm/test/CodeGen/BPF/dwarfdump.ll index 2b865bdc4f68..a3a6b52b2034 100644 --- a/llvm/test/CodeGen/BPF/dwarfdump.ll +++ b/llvm/test/CodeGen/BPF/dwarfdump.ll @@ -1,6 +1,6 @@ -; RUN: llc -O2 -march=bpfel %s -o %t -filetype=obj +; RUN: llc -O2 -mtriple=bpfel %s -o %t -filetype=obj ; RUN: llvm-dwarfdump -debug-line %t | FileCheck %s -; RUN: llc -O2 -march=bpfeb %s -o %t -filetype=obj +; RUN: llc -O2 -mtriple=bpfeb %s -o %t -filetype=obj ; RUN: llvm-dwarfdump -debug-line %t | FileCheck %s source_filename = "testprog.c" diff --git a/llvm/test/CodeGen/BPF/ex1.ll b/llvm/test/CodeGen/BPF/ex1.ll index e4ff19f76381..7dd911b727f1 100644 --- a/llvm/test/CodeGen/BPF/ex1.ll +++ b/llvm/test/CodeGen/BPF/ex1.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=bpfel -mcpu=v1 | FileCheck %s +; RUN: llc < %s -mtriple=bpfel -mcpu=v1 | FileCheck %s %struct.bpf_context = type { i64, i64, i64, i64, i64, i64, i64 } %struct.sk_buff = type { i64, i64, i64, i64, i64, i64, i64 } diff --git a/llvm/test/CodeGen/BPF/fi_ri.ll b/llvm/test/CodeGen/BPF/fi_ri.ll index c030a363ec5b..8d60d29b5272 100644 --- a/llvm/test/CodeGen/BPF/fi_ri.ll +++ b/llvm/test/CodeGen/BPF/fi_ri.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=bpf -mcpu=v1 | FileCheck %s +; RUN: llc < %s -mtriple=bpf -mcpu=v1 | FileCheck %s %struct.key_t = type { i32, [16 x i8] } diff --git a/llvm/test/CodeGen/BPF/gotol.ll b/llvm/test/CodeGen/BPF/gotol.ll index 0c7d9291f72d..4df6192d0c8c 100644 --- a/llvm/test/CodeGen/BPF/gotol.ll +++ b/llvm/test/CodeGen/BPF/gotol.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=bpfel -mcpu=v4 -gotol-abs-low-bound 0 -verify-machineinstrs -show-mc-encoding < %s | FileCheck %s +; RUN: llc -mtriple=bpfel -mcpu=v4 -gotol-abs-low-bound 0 -verify-machineinstrs -show-mc-encoding < %s | FileCheck %s ; Source: ; // This test covers all three cases: ; // (1). jmp to another basic block (not the follow-through one) diff --git a/llvm/test/CodeGen/BPF/i128.ll b/llvm/test/CodeGen/BPF/i128.ll index 90c81fe9dd0f..a966e3e4831e 100644 --- a/llvm/test/CodeGen/BPF/i128.ll +++ b/llvm/test/CodeGen/BPF/i128.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -mcpu=v1 -o - %s | FileCheck %s -; RUN: llc -march=bpfeb -mcpu=v1 -o - %s | FileCheck %s +; RUN: llc -mtriple=bpfel -mcpu=v1 -o - %s | FileCheck %s +; RUN: llc -mtriple=bpfeb -mcpu=v1 -o - %s | FileCheck %s ; Source code: ; struct ipv6_key_t { ; unsigned pid; diff --git a/llvm/test/CodeGen/BPF/inline_asm.ll b/llvm/test/CodeGen/BPF/inline_asm.ll index cdbeb4f003c9..529d51d7a523 100644 --- a/llvm/test/CodeGen/BPF/inline_asm.ll +++ b/llvm/test/CodeGen/BPF/inline_asm.ll @@ -1,5 +1,5 @@ -; RUN: llc < %s -march=bpfel -verify-machineinstrs | FileCheck %s -; RUN: llc < %s -march=bpfeb -verify-machineinstrs | FileCheck %s +; RUN: llc < %s -mtriple=bpfel -verify-machineinstrs | FileCheck %s +; RUN: llc < %s -mtriple=bpfeb -verify-machineinstrs | FileCheck %s ; Source code: ; int g[2]; diff --git a/llvm/test/CodeGen/BPF/inlineasm-wreg.ll b/llvm/test/CodeGen/BPF/inlineasm-wreg.ll index 3c4144e60d51..496a2d909cb7 100644 --- a/llvm/test/CodeGen/BPF/inlineasm-wreg.ll +++ b/llvm/test/CodeGen/BPF/inlineasm-wreg.ll @@ -1,5 +1,5 @@ -; RUN: llc < %s -march=bpfel -mattr=+alu32 -verify-machineinstrs | FileCheck %s -; RUN: llc < %s -march=bpfeb -mattr=+alu32 -verify-machineinstrs | FileCheck %s +; RUN: llc < %s -mtriple=bpfel -mattr=+alu32 -verify-machineinstrs | FileCheck %s +; RUN: llc < %s -mtriple=bpfeb -mattr=+alu32 -verify-machineinstrs | FileCheck %s ; Test that %w works as input constraint ; CHECK-LABEL: test_inlineasm_w_input_constraint diff --git a/llvm/test/CodeGen/BPF/intrinsics.ll b/llvm/test/CodeGen/BPF/intrinsics.ll index 2158097bc967..4bc7fee02df0 100644 --- a/llvm/test/CodeGen/BPF/intrinsics.ll +++ b/llvm/test/CodeGen/BPF/intrinsics.ll @@ -1,5 +1,5 @@ -; RUN: llc < %s -march=bpfel -mcpu=v1 -show-mc-encoding | FileCheck --check-prefix=CHECK-EL %s -; RUN: llc < %s -march=bpfeb -mcpu=v1 -show-mc-encoding | FileCheck --check-prefix=CHECK-EB %s +; RUN: llc < %s -mtriple=bpfel -mcpu=v1 -show-mc-encoding | FileCheck --check-prefix=CHECK-EL %s +; RUN: llc < %s -mtriple=bpfeb -mcpu=v1 -show-mc-encoding | FileCheck --check-prefix=CHECK-EB %s ; Function Attrs: nounwind uwtable define i32 @ld_b(i64 %foo, ptr nocapture %bar, ptr %ctx, ptr %ctx2) #0 { diff --git a/llvm/test/CodeGen/BPF/is_trunc_free.ll b/llvm/test/CodeGen/BPF/is_trunc_free.ll index 4d110a4ac114..21c8a2aebeda 100644 --- a/llvm/test/CodeGen/BPF/is_trunc_free.ll +++ b/llvm/test/CodeGen/BPF/is_trunc_free.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=bpfel -mattr=+alu32 < %s | FileCheck %s +; RUN: llc -mtriple=bpfel -mattr=+alu32 < %s | FileCheck %s ; Source: ; struct env_t { ; unsigned data; diff --git a/llvm/test/CodeGen/BPF/is_zext_free.ll b/llvm/test/CodeGen/BPF/is_zext_free.ll index 2a62dbefd62d..4b81a908f57b 100644 --- a/llvm/test/CodeGen/BPF/is_zext_free.ll +++ b/llvm/test/CodeGen/BPF/is_zext_free.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=bpfel -mattr=+alu32 < %s | FileCheck %s +; RUN: llc -mtriple=bpfel -mattr=+alu32 < %s | FileCheck %s ; Source: ; unsigned test(unsigned long x, unsigned long y) { ; return x & y; diff --git a/llvm/test/CodeGen/BPF/ldsx.ll b/llvm/test/CodeGen/BPF/ldsx.ll index 622cacf1ad0c..59ca8cef8719 100644 --- a/llvm/test/CodeGen/BPF/ldsx.ll +++ b/llvm/test/CodeGen/BPF/ldsx.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=bpfel -mcpu=v4 -verify-machineinstrs -show-mc-encoding < %s | FileCheck %s +; RUN: llc -mtriple=bpfel -mcpu=v4 -verify-machineinstrs -show-mc-encoding < %s | FileCheck %s ; Source: ; int f1(char *p) { ; return *p; diff --git a/llvm/test/CodeGen/BPF/load.ll b/llvm/test/CodeGen/BPF/load.ll index 048924817c4c..f42a8c7caf56 100644 --- a/llvm/test/CodeGen/BPF/load.ll +++ b/llvm/test/CodeGen/BPF/load.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=bpfel -mcpu=v1 | FileCheck %s +; RUN: llc < %s -mtriple=bpfel -mcpu=v1 | FileCheck %s define i16 @am1(ptr %a) nounwind { %1 = load i16, ptr %a diff --git a/llvm/test/CodeGen/BPF/loops.ll b/llvm/test/CodeGen/BPF/loops.ll index 2bdaea0f7376..8b9caa4f57b8 100644 --- a/llvm/test/CodeGen/BPF/loops.ll +++ b/llvm/test/CodeGen/BPF/loops.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=bpfel -mcpu=v1 | FileCheck %s +; RUN: llc < %s -mtriple=bpfel -mcpu=v1 | FileCheck %s define zeroext i16 @add(ptr nocapture %a, i16 zeroext %n) nounwind readonly { entry: diff --git a/llvm/test/CodeGen/BPF/many_args1.ll b/llvm/test/CodeGen/BPF/many_args1.ll index 441da648eaa1..0e2ff1af06e5 100644 --- a/llvm/test/CodeGen/BPF/many_args1.ll +++ b/llvm/test/CodeGen/BPF/many_args1.ll @@ -1,4 +1,4 @@ -; RUN: not llc -march=bpf -mcpu=v1 < %s 2> %t1 +; RUN: not llc -mtriple=bpf -mcpu=v1 < %s 2> %t1 ; RUN: FileCheck %s < %t1 ; CHECK: error: <unknown>:0:0: in function foo i32 (i32, i32, i32): {{t10|0x[0-f]+}}: i64 = GlobalAddress<ptr @bar> 0 too many arguments diff --git a/llvm/test/CodeGen/BPF/many_args2.ll b/llvm/test/CodeGen/BPF/many_args2.ll index c5d6349dd6e1..d1feefc0e404 100644 --- a/llvm/test/CodeGen/BPF/many_args2.ll +++ b/llvm/test/CodeGen/BPF/many_args2.ll @@ -1,4 +1,4 @@ -; RUN: not llc -march=bpf < %s 2> %t1 +; RUN: not llc -mtriple=bpf < %s 2> %t1 ; RUN: FileCheck %s < %t1 ; CHECK: error: <unknown>:0:0: in function bar i32 (i32, i32, i32, i32, i32, i32): stack arguments are not supported diff --git a/llvm/test/CodeGen/BPF/mem_offset.ll b/llvm/test/CodeGen/BPF/mem_offset.ll index abb4a5e9b423..498ff62ffa29 100644 --- a/llvm/test/CodeGen/BPF/mem_offset.ll +++ b/llvm/test/CodeGen/BPF/mem_offset.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=bpfel -show-mc-encoding < %s | FileCheck %s +; RUN: llc -mtriple=bpfel -show-mc-encoding < %s | FileCheck %s ; Function Attrs: nounwind define i32 @bpf_prog1(ptr nocapture readnone) local_unnamed_addr #0 { diff --git a/llvm/test/CodeGen/BPF/mem_offset_be.ll b/llvm/test/CodeGen/BPF/mem_offset_be.ll index 832a48455b78..123c069fe8b8 100644 --- a/llvm/test/CodeGen/BPF/mem_offset_be.ll +++ b/llvm/test/CodeGen/BPF/mem_offset_be.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=bpfeb -show-mc-encoding < %s | FileCheck %s +; RUN: llc -mtriple=bpfeb -show-mc-encoding < %s | FileCheck %s ; Function Attrs: nounwind define i32 @bpf_prog1(ptr nocapture readnone) local_unnamed_addr #0 { diff --git a/llvm/test/CodeGen/BPF/memcmp.ll b/llvm/test/CodeGen/BPF/memcmp.ll index 7ed8dc1e736f..4c326feda559 100644 --- a/llvm/test/CodeGen/BPF/memcmp.ll +++ b/llvm/test/CodeGen/BPF/memcmp.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel < %s | FileCheck %s -; RUN: llc -march=bpfel -mcpu=v3 < %s | FileCheck %s +; RUN: llc -mtriple=bpfel < %s | FileCheck %s +; RUN: llc -mtriple=bpfel -mcpu=v3 < %s | FileCheck %s ; ; Source code: ; /* set aligned 4 to minimize the number of loads */ diff --git a/llvm/test/CodeGen/BPF/memcpy-expand-in-order.ll b/llvm/test/CodeGen/BPF/memcpy-expand-in-order.ll index c690c0e5ccaa..61f6c60f5de5 100644 --- a/llvm/test/CodeGen/BPF/memcpy-expand-in-order.ll +++ b/llvm/test/CodeGen/BPF/memcpy-expand-in-order.ll @@ -1,5 +1,5 @@ -; RUN: llc < %s -march=bpfel -verify-machineinstrs -bpf-expand-memcpy-in-order | FileCheck %s -; RUN: llc < %s -march=bpfeb -verify-machineinstrs -bpf-expand-memcpy-in-order | FileCheck %s +; RUN: llc < %s -mtriple=bpfel -verify-machineinstrs -bpf-expand-memcpy-in-order | FileCheck %s +; RUN: llc < %s -mtriple=bpfeb -verify-machineinstrs -bpf-expand-memcpy-in-order | FileCheck %s ; ; #define COPY_LEN 9 ; diff --git a/llvm/test/CodeGen/BPF/movsx.ll b/llvm/test/CodeGen/BPF/movsx.ll index f781c8c10c4f..4d3c31c9d7f4 100644 --- a/llvm/test/CodeGen/BPF/movsx.ll +++ b/llvm/test/CodeGen/BPF/movsx.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=bpfel -mcpu=v4 -verify-machineinstrs -show-mc-encoding < %s | FileCheck %s +; RUN: llc -mtriple=bpfel -mcpu=v4 -verify-machineinstrs -show-mc-encoding < %s | FileCheck %s ; Source: ; short f1(int a) { ; return (char)a; diff --git a/llvm/test/CodeGen/BPF/no-merge-attr.ll b/llvm/test/CodeGen/BPF/no-merge-attr.ll index b5c43ace2bab..7896c8c9754c 100644 --- a/llvm/test/CodeGen/BPF/no-merge-attr.ll +++ b/llvm/test/CodeGen/BPF/no-merge-attr.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; ; Source: ; extern void foo(void) __attribute__((nomerge)); diff --git a/llvm/test/CodeGen/BPF/optnone-1.ll b/llvm/test/CodeGen/BPF/optnone-1.ll index 4f06f9d205a9..68046bf026fa 100644 --- a/llvm/test/CodeGen/BPF/optnone-1.ll +++ b/llvm/test/CodeGen/BPF/optnone-1.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s +; RUN: llc -mtriple=bpfel -filetype=asm -o - %s | FileCheck -check-prefixes=CHECK %s ; Source Code: ; int test(int a, int b) { return a + b; } ; Compilation flag: diff --git a/llvm/test/CodeGen/BPF/optnone-2.ll b/llvm/test/CodeGen/BPF/optnone-2.ll index 1693d1858a98..38428557303d 100644 --- a/llvm/test/CodeGen/BPF/optnone-2.ll +++ b/llvm/test/CodeGen/BPF/optnone-2.ll @@ -1,5 +1,5 @@ -; RUN: opt < %s -passes='default<O2>' | llc -march=bpfel -filetype=asm -o /dev/null - -; RUN: opt < %s -passes='default<O0>' | llc -march=bpfel -filetype=asm -o /dev/null - +; RUN: opt < %s -passes='default<O2>' | llc -mtriple=bpfel -filetype=asm -o /dev/null - +; RUN: opt < %s -passes='default<O0>' | llc -mtriple=bpfel -filetype=asm -o /dev/null - ; IR generated by ; $ cat /tmp/a.c diff --git a/llvm/test/CodeGen/BPF/remove_truncate_1.ll b/llvm/test/CodeGen/BPF/remove_truncate_1.ll index cb0b139fe7ae..631312afab25 100644 --- a/llvm/test/CodeGen/BPF/remove_truncate_1.ll +++ b/llvm/test/CodeGen/BPF/remove_truncate_1.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=bpf -mcpu=v1 -verify-machineinstrs | FileCheck %s +; RUN: llc < %s -mtriple=bpf -mcpu=v1 -verify-machineinstrs | FileCheck %s ; Source code: ; struct xdp_md { diff --git a/llvm/test/CodeGen/BPF/remove_truncate_2.ll b/llvm/test/CodeGen/BPF/remove_truncate_2.ll index 4e8d4c3e774b..2724ae11684d 100644 --- a/llvm/test/CodeGen/BPF/remove_truncate_2.ll +++ b/llvm/test/CodeGen/BPF/remove_truncate_2.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=bpf -mcpu=v1 -verify-machineinstrs | FileCheck %s +; RUN: llc < %s -mtriple=bpf -mcpu=v1 -verify-machineinstrs | FileCheck %s ; Source code: ; struct xdp_md { diff --git a/llvm/test/CodeGen/BPF/remove_truncate_3.ll b/llvm/test/CodeGen/BPF/remove_truncate_3.ll index 0ab60609f2d6..767d9d259e51 100644 --- a/llvm/test/CodeGen/BPF/remove_truncate_3.ll +++ b/llvm/test/CodeGen/BPF/remove_truncate_3.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=bpf -mcpu=v1 -verify-machineinstrs | FileCheck %s +; RUN: llc < %s -mtriple=bpf -mcpu=v1 -verify-machineinstrs | FileCheck %s ; Source code: ; struct xdp_md { diff --git a/llvm/test/CodeGen/BPF/remove_truncate_4.ll b/llvm/test/CodeGen/BPF/remove_truncate_4.ll index c38b74169866..5c5ecc45aead 100644 --- a/llvm/test/CodeGen/BPF/remove_truncate_4.ll +++ b/llvm/test/CodeGen/BPF/remove_truncate_4.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=bpf -verify-machineinstrs | FileCheck %s +; RUN: llc < %s -mtriple=bpf -verify-machineinstrs | FileCheck %s ; Source code: ;struct __sk_buff; diff --git a/llvm/test/CodeGen/BPF/remove_truncate_5.ll b/llvm/test/CodeGen/BPF/remove_truncate_5.ll index 070d464c0c39..10a722fe3485 100644 --- a/llvm/test/CodeGen/BPF/remove_truncate_5.ll +++ b/llvm/test/CodeGen/BPF/remove_truncate_5.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=bpfel | FileCheck -check-prefixes=CHECK %s +; RUN: llc < %s -mtriple=bpfel | FileCheck -check-prefixes=CHECK %s ; Source code: ; struct test_t { diff --git a/llvm/test/CodeGen/BPF/remove_truncate_6.ll b/llvm/test/CodeGen/BPF/remove_truncate_6.ll index 949f58819884..9f893af655d1 100644 --- a/llvm/test/CodeGen/BPF/remove_truncate_6.ll +++ b/llvm/test/CodeGen/BPF/remove_truncate_6.ll @@ -1,5 +1,5 @@ -; RUN: llc < %s -march=bpf -mcpu=v1 -verify-machineinstrs | FileCheck %s -; RUN: llc < %s -march=bpf -mcpu=v1 -mattr=+alu32 -verify-machineinstrs | FileCheck --check-prefix=CHECK-32 %s +; RUN: llc < %s -mtriple=bpf -mcpu=v1 -verify-machineinstrs | FileCheck %s +; RUN: llc < %s -mtriple=bpf -mcpu=v1 -mattr=+alu32 -verify-machineinstrs | FileCheck --check-prefix=CHECK-32 %s ; ; void cal1(unsigned short *a, unsigned long *b, unsigned int k) ; { diff --git a/llvm/test/CodeGen/BPF/remove_truncate_7.ll b/llvm/test/CodeGen/BPF/remove_truncate_7.ll index 0d76a8d2e2d1..14c7a552b0db 100644 --- a/llvm/test/CodeGen/BPF/remove_truncate_7.ll +++ b/llvm/test/CodeGen/BPF/remove_truncate_7.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=bpf -mattr=+alu32 -verify-machineinstrs | FileCheck %s +; RUN: llc < %s -mtriple=bpf -mattr=+alu32 -verify-machineinstrs | FileCheck %s ; ; Source: ; struct __sk_buff { diff --git a/llvm/test/CodeGen/BPF/remove_truncate_8.ll b/llvm/test/CodeGen/BPF/remove_truncate_8.ll index 3a13c0acd299..9770549f8d86 100644 --- a/llvm/test/CodeGen/BPF/remove_truncate_8.ll +++ b/llvm/test/CodeGen/BPF/remove_truncate_8.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=bpf -mcpu=v1 -verify-machineinstrs | FileCheck %s +; RUN: llc < %s -mtriple=bpf -mcpu=v1 -verify-machineinstrs | FileCheck %s ; Source Code: ; struct loc_prog { ; unsigned int ip; diff --git a/llvm/test/CodeGen/BPF/remove_truncate_9.ll b/llvm/test/CodeGen/BPF/remove_truncate_9.ll index 3b9293d38fd0..dd3114926bcf 100644 --- a/llvm/test/CodeGen/BPF/remove_truncate_9.ll +++ b/llvm/test/CodeGen/BPF/remove_truncate_9.ll @@ -1,5 +1,5 @@ -; RUN: llc -mcpu=v2 -march=bpf < %s | FileCheck %s -; RUN: llc -mcpu=v4 -march=bpf < %s | FileCheck %s +; RUN: llc -mcpu=v2 -mtriple=bpf < %s | FileCheck %s +; RUN: llc -mcpu=v4 -mtriple=bpf < %s | FileCheck %s ; Zero extension instructions should be eliminated at instruction ; selection phase for all test cases below. diff --git a/llvm/test/CodeGen/BPF/rodata_1.ll b/llvm/test/CodeGen/BPF/rodata_1.ll index 6813ee8a1160..26dd85caa1d2 100644 --- a/llvm/test/CodeGen/BPF/rodata_1.ll +++ b/llvm/test/CodeGen/BPF/rodata_1.ll @@ -1,5 +1,5 @@ -; RUN: llc < %s -march=bpfel -mcpu=v1 -verify-machineinstrs | FileCheck %s -; RUN: llc < %s -march=bpfeb -mcpu=v1 -verify-machineinstrs | FileCheck %s +; RUN: llc < %s -mtriple=bpfel -mcpu=v1 -verify-machineinstrs | FileCheck %s +; RUN: llc < %s -mtriple=bpfeb -mcpu=v1 -verify-machineinstrs | FileCheck %s ; Source code: ; struct test_t1 { diff --git a/llvm/test/CodeGen/BPF/rodata_2.ll b/llvm/test/CodeGen/BPF/rodata_2.ll index 9ec98fb08adc..bb7bf4ba8ace 100644 --- a/llvm/test/CodeGen/BPF/rodata_2.ll +++ b/llvm/test/CodeGen/BPF/rodata_2.ll @@ -1,5 +1,5 @@ -; RUN: llc < %s -march=bpfel -mcpu=v1 -verify-machineinstrs | FileCheck %s -; RUN: llc < %s -march=bpfeb -mcpu=v1 -verify-machineinstrs | FileCheck %s +; RUN: llc < %s -mtriple=bpfel -mcpu=v1 -verify-machineinstrs | FileCheck %s +; RUN: llc < %s -mtriple=bpfeb -mcpu=v1 -verify-machineinstrs | FileCheck %s ; Source code: ; struct test_t1 { diff --git a/llvm/test/CodeGen/BPF/rodata_3.ll b/llvm/test/CodeGen/BPF/rodata_3.ll index 696775ba74c8..04186935ea8c 100644 --- a/llvm/test/CodeGen/BPF/rodata_3.ll +++ b/llvm/test/CodeGen/BPF/rodata_3.ll @@ -1,6 +1,6 @@ ; REQUIRES: x86_64-linux -; RUN: llc < %s -march=bpfel -mcpu=v1 -verify-machineinstrs | FileCheck --check-prefix=CHECK-EL %s -; RUN: llc < %s -march=bpfeb -mcpu=v1 -verify-machineinstrs | FileCheck --check-prefix=CHECK-EB %s +; RUN: llc < %s -mtriple=bpfel -mcpu=v1 -verify-machineinstrs | FileCheck --check-prefix=CHECK-EL %s +; RUN: llc < %s -mtriple=bpfeb -mcpu=v1 -verify-machineinstrs | FileCheck --check-prefix=CHECK-EB %s ; ; This test requires little-endian host, so we specific x86_64-linux here. ; Source code: diff --git a/llvm/test/CodeGen/BPF/rodata_4.ll b/llvm/test/CodeGen/BPF/rodata_4.ll index a3eecb0e8d72..a446475a69c1 100644 --- a/llvm/test/CodeGen/BPF/rodata_4.ll +++ b/llvm/test/CodeGen/BPF/rodata_4.ll @@ -1,5 +1,5 @@ -; RUN: llc < %s -march=bpfel -mcpu=v1 -verify-machineinstrs | FileCheck %s -; RUN: llc < %s -march=bpfeb -mcpu=v1 -verify-machineinstrs | FileCheck %s +; RUN: llc < %s -mtriple=bpfel -mcpu=v1 -verify-machineinstrs | FileCheck %s +; RUN: llc < %s -mtriple=bpfeb -mcpu=v1 -verify-machineinstrs | FileCheck %s ; Source code: ; struct test_t1 diff --git a/llvm/test/CodeGen/BPF/rodata_5.ll b/llvm/test/CodeGen/BPF/rodata_5.ll index 223ec936e646..8d5c7970aff6 100644 --- a/llvm/test/CodeGen/BPF/rodata_5.ll +++ b/llvm/test/CodeGen/BPF/rodata_5.ll @@ -1,5 +1,5 @@ -; RUN: llc < %s -march=bpfel -mattr=+alu32 -verify-machineinstrs | FileCheck %s -; RUN: llc < %s -march=bpfeb -mattr=+alu32 -verify-machineinstrs | FileCheck %s +; RUN: llc < %s -mtriple=bpfel -mattr=+alu32 -verify-machineinstrs | FileCheck %s +; RUN: llc < %s -mtriple=bpfeb -mattr=+alu32 -verify-machineinstrs | FileCheck %s ; ; Source Code: ; struct t { diff --git a/llvm/test/CodeGen/BPF/rodata_6.ll b/llvm/test/CodeGen/BPF/rodata_6.ll index 6603041e2e94..55205ae2aaad 100644 --- a/llvm/test/CodeGen/BPF/rodata_6.ll +++ b/llvm/test/CodeGen/BPF/rodata_6.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=bpf -mcpu=v1 < %s | FileCheck %s +; RUN: llc -mtriple=bpf -mcpu=v1 < %s | FileCheck %s ; ; Source code: ; struct t1 { int a; }; diff --git a/llvm/test/CodeGen/BPF/rodata_7.ll b/llvm/test/CodeGen/BPF/rodata_7.ll index c238aa7a4fd8..93a8b5f56396 100644 --- a/llvm/test/CodeGen/BPF/rodata_7.ll +++ b/llvm/test/CodeGen/BPF/rodata_7.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=bpf -mcpu=v1 < %s | FileCheck %s +; RUN: llc -mtriple=bpf -mcpu=v1 < %s | FileCheck %s ; ; Source code: ; struct t1 { int a; }; diff --git a/llvm/test/CodeGen/BPF/sdiv_smod.ll b/llvm/test/CodeGen/BPF/sdiv_smod.ll index f944e5f21c6f..5fb23d03f172 100644 --- a/llvm/test/CodeGen/BPF/sdiv_smod.ll +++ b/llvm/test/CodeGen/BPF/sdiv_smod.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=bpfel -mcpu=v4 -verify-machineinstrs -show-mc-encoding < %s | FileCheck %s +; RUN: llc -mtriple=bpfel -mcpu=v4 -verify-machineinstrs -show-mc-encoding < %s | FileCheck %s ; Source: ; int foo(int a, int b, int c) { ; return a/b + a%c; diff --git a/llvm/test/CodeGen/BPF/sdiv_to_mul.ll b/llvm/test/CodeGen/BPF/sdiv_to_mul.ll index 7bb1b7badac1..cb01eeb46b3e 100644 --- a/llvm/test/CodeGen/BPF/sdiv_to_mul.ll +++ b/llvm/test/CodeGen/BPF/sdiv_to_mul.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -mcpu=v1 < %s | FileCheck --check-prefix=CHECK-V1 %s -; RUN: llc -march=bpfel -mcpu=v4 < %s | FileCheck --check-prefix=CHECK-V4 %s +; RUN: llc -mtriple=bpfel -mcpu=v1 < %s | FileCheck --check-prefix=CHECK-V1 %s +; RUN: llc -mtriple=bpfel -mcpu=v4 < %s | FileCheck --check-prefix=CHECK-V4 %s target triple = "bpf" diff --git a/llvm/test/CodeGen/BPF/select_ri.ll b/llvm/test/CodeGen/BPF/select_ri.ll index 2c910eff0675..6d1529d8050e 100644 --- a/llvm/test/CodeGen/BPF/select_ri.ll +++ b/llvm/test/CodeGen/BPF/select_ri.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=bpf -mcpu=v2 -verify-machineinstrs | FileCheck %s +; RUN: llc < %s -mtriple=bpf -mcpu=v2 -verify-machineinstrs | FileCheck %s ; ; Source file: ; int b, c; diff --git a/llvm/test/CodeGen/BPF/selectiondag-bug.ll b/llvm/test/CodeGen/BPF/selectiondag-bug.ll index 2351994e4589..d4853ed59414 100644 --- a/llvm/test/CodeGen/BPF/selectiondag-bug.ll +++ b/llvm/test/CodeGen/BPF/selectiondag-bug.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=bpf < %s | FileCheck %s +; RUN: llc -mtriple=bpf < %s | FileCheck %s ; ; The IR is generated from a bpftrace script (https://github.com/iovisor/bpftrace/issues/1305) ; and then slightly adapted for easy unit testing. diff --git a/llvm/test/CodeGen/BPF/setcc.ll b/llvm/test/CodeGen/BPF/setcc.ll index 9f01f978473f..0e6103e3f3b0 100644 --- a/llvm/test/CodeGen/BPF/setcc.ll +++ b/llvm/test/CodeGen/BPF/setcc.ll @@ -1,5 +1,5 @@ -; RUN: llc -march=bpfel -mcpu=v1 < %s | FileCheck --check-prefix=CHECK-V1 %s -; RUN: llc -march=bpfel -mcpu=v2 < %s | FileCheck --check-prefix=CHECK-V2 %s +; RUN: llc -mtriple=bpfel -mcpu=v1 < %s | FileCheck --check-prefix=CHECK-V1 %s +; RUN: llc -mtriple=bpfel -mcpu=v2 < %s | FileCheck --check-prefix=CHECK-V2 %s define i16 @sccweqand(i16 %a, i16 %b) nounwind { %t1 = and i16 %a, %b diff --git a/llvm/test/CodeGen/BPF/shifts.ll b/llvm/test/CodeGen/BPF/shifts.ll index ade49d816e52..13c05c0b06be 100644 --- a/llvm/test/CodeGen/BPF/shifts.ll +++ b/llvm/test/CodeGen/BPF/shifts.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=bpfel -mcpu=v1 -show-mc-encoding | FileCheck %s +; RUN: llc < %s -mtriple=bpfel -mcpu=v1 -show-mc-encoding | FileCheck %s define zeroext i8 @lshr8(i8 zeroext %a, i8 zeroext %cnt) nounwind readnone { entry: diff --git a/llvm/test/CodeGen/BPF/sockex2.ll b/llvm/test/CodeGen/BPF/sockex2.ll index b26192a08326..6874751124b3 100644 --- a/llvm/test/CodeGen/BPF/sockex2.ll +++ b/llvm/test/CodeGen/BPF/sockex2.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=bpfel -mcpu=v1 -show-mc-encoding | FileCheck %s +; RUN: llc < %s -mtriple=bpfel -mcpu=v1 -show-mc-encoding | FileCheck %s %struct.bpf_map_def = type { i32, i32, i32, i32 } %struct.sk_buff = type opaque diff --git a/llvm/test/CodeGen/BPF/spill-alu32.ll b/llvm/test/CodeGen/BPF/spill-alu32.ll index c9de589cad3e..d8b5172e8b0a 100644 --- a/llvm/test/CodeGen/BPF/spill-alu32.ll +++ b/llvm/test/CodeGen/BPF/spill-alu32.ll @@ -1,4 +1,4 @@ -; RUN: llc -march=bpf -mcpu=v3 < %s | FileCheck %s +; RUN: llc -mtriple=bpf -mcpu=v3 < %s | FileCheck %s ; ; Source code: ; void foo(int, int, int, long, int); diff --git a/llvm/test/CodeGen/BPF/store_imm.ll b/llvm/test/CodeGen/BPF/store_imm.ll index 778beca176f9..dba83937837b 100644 --- a/llvm/test/CodeGen/BPF/store_imm.ll +++ b/llvm/test/CodeGen/BPF/store_imm.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py -; RUN: llc < %s -march=bpfel -mcpu=v4 -show-mc-encoding | FileCheck %s +; RUN: llc < %s -mtriple=bpfel -mcpu=v4 -show-mc-encoding | FileCheck %s target triple = "bpf" diff --git a/llvm/test/CodeGen/BPF/struct-arg.ll b/llvm/test/CodeGen/BPF/struct-arg.ll index cfe49df04536..fd4900c52738 100644 --- a/llvm/test/CodeGen/BPF/struct-arg.ll +++ b/llvm/test/CodeGen/BPF/struct-arg.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -march=bpfel | FileCheck %s +; RUN: llc < %s -mtriple=bpfel | FileCheck %s ; Source: ; struct t1 { ; long a; diff --git a/llvm/test/CodeGen/BPF/struct_ret1.ll b/llvm/test/CodeGen/BPF/struct_ret1.ll index 387e466db423..40d17ec514c4 100644 --- a/llvm/test/CodeGen/BPF/struct_ret1.ll +++ b/llvm/test/CodeGen/BPF/struct_ret1.ll @@ -1,4 +1,4 @@ -; RUN: not llc -march=bpf < %s 2> %t1 +; RUN: not llc -mtriple=bpf < %s 2> %t1 ; RUN: FileCheck %s < %t1 ; CHECK: error: <unknown>:0:0: in function bar { i64, i32 } (i32, i32, i32, i32, i32): aggregate returns are not supported diff --git a/llvm/test/CodeGen/BPF/struct_ret2.ll b/llvm/test/CodeGen/BPF/struct_ret2.ll index 90461205f7cf..170d55cc29df 100644 --- a/llvm/test/CodeGen/BPF/struct_ret2.ll +++ b/llvm/test/CodeGen/BPF/struct_ret2.ll @@ -1,4 +1,4 @@ -; RUN: not llc -march=bpf < %s 2> %t1 +; RUN: not llc -mtriple=bpf < %s 2> %t1 ; RUN: FileCheck %s < %t1 ; CHECK: only small returns diff --git a/llvm/test/CodeGen/BPF/undef.ll b/llvm/test/CodeGen/BPF/undef.ll index c0cd8f89df6a..05af4f3b61d8 100644 --- a/llvm/test/CodeGen/BPF/undef.ll +++ b/llvm/test/CodeGen/BPF/undef.ll @@ -1,5 +1,5 @@ -; RUN: llc < %s -march=bpfel -mcpu=v1 | FileCheck -check-prefixes=CHECK,EL %s -; RUN: llc < %s -march=bpfeb -mcpu=v1 | FileCheck -check-prefixes=CHECK,EB %s +; RUN: llc < %s -mtriple=bpfel -mcpu=v1 | FileCheck -check-prefixes=CHECK,EL %s +; RUN: llc < %s -mtriple=bpfeb -mcpu=v1 | FileCheck -check-prefixes=CHECK,EB %s %struct.bpf_map_def = type { i32, i32, i32, i32 } %struct.__sk_buff = type opaque diff --git a/llvm/test/CodeGen/BPF/vararg1.ll b/llvm/test/CodeGen/BPF/vararg1.ll index 2b5ed16ddf13..835c29fbaa61 100644 --- a/llvm/test/CodeGen/BPF/vararg1.ll +++ b/llvm/test/CodeGen/BPF/vararg1.ll @@ -1,4 +1,4 @@ -; RUN: not llc -march=bpf < %s 2> %t1 +; RUN: not llc -mtriple=bpf < %s 2> %t1 ; RUN: FileCheck %s < %t1 ; CHECK: error: <unknown>:0:0: in function foo void (i32, ...): variadic functions are not supported diff --git a/llvm/test/CodeGen/BPF/warn-call.ll b/llvm/test/CodeGen/BPF/warn-call.ll index fbfaead98f13..d0b1da5e6426 100644 --- a/llvm/test/CodeGen/BPF/warn-call.ll +++ b/llvm/test/CodeGen/BPF/warn-call.ll @@ -1,4 +1,4 @@ -; RUN: not llc -march=bpfel < %s 2>&1 >/dev/null | FileCheck %s +; RUN: not llc -mtriple=bpfel < %s 2>&1 >/dev/null | FileCheck %s ; CHECK: error: warn_call.c ; CHECK: built-in function 'memcpy' diff --git a/llvm/test/CodeGen/BPF/warn-stack.ll b/llvm/test/CodeGen/BPF/warn-stack.ll index 807e196b926d..58a6e4c8d9e7 100644 --- a/llvm/test/CodeGen/BPF/warn-stack.ll +++ b/llvm/test/CodeGen/BPF/warn-stack.ll @@ -1,4 +1,4 @@ -; RUN: not llc -march=bpfel < %s 2>&1 >/dev/null | FileCheck %s +; RUN: not llc -mtriple=bpfel < %s 2>&1 >/dev/null | FileCheck %s ;; CHECK-NOT: nowarn define void @nowarn() local_unnamed_addr #0 !dbg !6 { diff --git a/llvm/test/CodeGen/BPF/xadd.ll b/llvm/test/CodeGen/BPF/xadd.ll index ed7fb130f37f..a3ec3235e04f 100644 --- a/llvm/test/CodeGen/BPF/xadd.ll +++ b/llvm/test/CodeGen/BPF/xadd.ll @@ -1,5 +1,5 @@ -; RUN: not llc -march=bpfel -mcpu=v1 < %s 2>&1 | FileCheck %s -; RUN: not llc -march=bpfeb -mcpu=v1 < %s 2>&1 | FileCheck %s +; RUN: not llc -mtriple=bpfel -mcpu=v1 < %s 2>&1 | FileCheck %s +; RUN: not llc -mtriple=bpfeb -mcpu=v1 < %s 2>&1 | FileCheck %s ; This file is generated with the source command and source ; $ clang -target bpf -O2 -g -S -emit-llvm t.c diff --git a/llvm/test/CodeGen/BPF/xadd_legal.ll b/llvm/test/CodeGen/BPF/xadd_legal.ll index 7bfe91e73e23..652de9c82134 100644 --- a/llvm/test/CodeGen/BPF/xadd_legal.ll +++ b/llvm/test/CodeGen/BPF/xadd_legal.ll @@ -1,7 +1,7 @@ -; RUN: llc -march=bpfel -mcpu=v1 < %s 2>&1 | FileCheck --check-prefix=CHECK-64 %s -; RUN: llc -march=bpfeb -mcpu=v1 < %s 2>&1 | FileCheck --check-prefix=CHECK-64 %s -; RUN: llc -march=bpfel -mcpu=v1 -mattr=+alu32 < %s 2>&1 | FileCheck --check-prefix=CHECK-32 %s -; RUN: llc -march=bpfeb -mcpu=v1 -mattr=+alu32 < %s 2>&1 | FileCheck --check-prefix=CHECK-32 %s +; RUN: llc -mtriple=bpfel -mcpu=v1 < %s 2>&1 | FileCheck --check-prefix=CHECK-64 %s +; RUN: llc -mtriple=bpfeb -mcpu=v1 < %s 2>&1 | FileCheck --check-prefix=CHECK-64 %s +; RUN: llc -mtriple=bpfel -mcpu=v1 -mattr=+alu32 < %s 2>&1 | FileCheck --check-prefix=CHECK-32 %s +; RUN: llc -mtriple=bpfeb -mcpu=v1 -mattr=+alu32 < %s 2>&1 | FileCheck --check-prefix=CHECK-32 %s ; This file is generated with the source command and source ; $ clang -target bpf -O2 -S -emit-llvm t.c diff --git a/llvm/test/CodeGen/BPF/xaddd_v1.ll b/llvm/test/CodeGen/BPF/xaddd_v1.ll index d3bfd8d81b15..4fd019a1eef7 100644 --- a/llvm/test/CodeGen/BPF/xaddd_v1.ll +++ b/llvm/test/CodeGen/BPF/xaddd_v1.ll @@ -1,4 +1,4 @@ -; RUN: not llc -march=bpfel -mcpu=v1 -filetype=asm < %s +; RUN: not llc -mtriple=bpfel -mcpu=v1 -filetype=asm < %s ; ; Source: ; $ cat xaddd_v1.c |
