[all-commits] [llvm/llvm-project] c5037d: [BPF, test] Change llc -march= to -mtriple=
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sun Dec 15 11:04:47 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c5037db4acd95790a0ca5061c8fa79c5c291607e
https://github.com/llvm/llvm-project/commit/c5037db4acd95790a0ca5061c8fa79c5c291607e
Author: Fangrui Song <i at maskray.me>
Date: 2024-12-15 (Sun, 15 Dec 2024)
Changed paths:
M llvm/test/CodeGen/BPF/32-bit-subreg-alu.ll
M llvm/test/CodeGen/BPF/32-bit-subreg-cond-select.ll
M llvm/test/CodeGen/BPF/32-bit-subreg-load-store.ll
M llvm/test/CodeGen/BPF/32-bit-subreg-peephole-phi-1.ll
M llvm/test/CodeGen/BPF/32-bit-subreg-peephole-phi-2.ll
M llvm/test/CodeGen/BPF/32-bit-subreg-peephole-phi-3.ll
M llvm/test/CodeGen/BPF/32-bit-subreg-peephole.ll
M llvm/test/CodeGen/BPF/32-bit-subreg-zext.ll
M llvm/test/CodeGen/BPF/BTF/array-1d-char.ll
M llvm/test/CodeGen/BPF/BTF/array-1d-int.ll
M llvm/test/CodeGen/BPF/BTF/array-2d-int.ll
M llvm/test/CodeGen/BPF/BTF/array-size-0.ll
M llvm/test/CodeGen/BPF/BTF/array-typedef.ll
M llvm/test/CodeGen/BPF/BTF/atomics.ll
M llvm/test/CodeGen/BPF/BTF/char-no-debuginfo.ll
M llvm/test/CodeGen/BPF/BTF/char.ll
M llvm/test/CodeGen/BPF/BTF/double.ll
M llvm/test/CodeGen/BPF/BTF/empty-btf.ll
M llvm/test/CodeGen/BPF/BTF/enum-basic.ll
M llvm/test/CodeGen/BPF/BTF/extern-builtin.ll
M llvm/test/CodeGen/BPF/BTF/extern-func-arg.ll
M llvm/test/CodeGen/BPF/BTF/extern-func-ptr.ll
M llvm/test/CodeGen/BPF/BTF/extern-global-var.ll
M llvm/test/CodeGen/BPF/BTF/extern-var-func-weak-section.ll
M llvm/test/CodeGen/BPF/BTF/extern-var-func-weak.ll
M llvm/test/CodeGen/BPF/BTF/extern-var-func.ll
M llvm/test/CodeGen/BPF/BTF/extern-var-func2.ll
M llvm/test/CodeGen/BPF/BTF/extern-var-section.ll
M llvm/test/CodeGen/BPF/BTF/extern-var-struct-weak.ll
M llvm/test/CodeGen/BPF/BTF/extern-var-struct.ll
M llvm/test/CodeGen/BPF/BTF/extern-var-weak-section.ll
M llvm/test/CodeGen/BPF/BTF/filename.ll
M llvm/test/CodeGen/BPF/BTF/float.ll
M llvm/test/CodeGen/BPF/BTF/func-func-ptr.ll
M llvm/test/CodeGen/BPF/BTF/func-non-void.ll
M llvm/test/CodeGen/BPF/BTF/func-source.ll
M llvm/test/CodeGen/BPF/BTF/func-typedef.ll
M llvm/test/CodeGen/BPF/BTF/func-unused-arg.ll
M llvm/test/CodeGen/BPF/BTF/func-void.ll
M llvm/test/CodeGen/BPF/BTF/fwd-no-define.ll
M llvm/test/CodeGen/BPF/BTF/fwd-with-define.ll
M llvm/test/CodeGen/BPF/BTF/global-var-bss-and-data.ll
M llvm/test/CodeGen/BPF/BTF/global-var-inited.ll
M llvm/test/CodeGen/BPF/BTF/global-var-sec-readonly.ll
M llvm/test/CodeGen/BPF/BTF/global-var-sec.ll
M llvm/test/CodeGen/BPF/BTF/incomplete-debuginfo.ll
M llvm/test/CodeGen/BPF/BTF/int.ll
M llvm/test/CodeGen/BPF/BTF/local-var-readonly-1.ll
M llvm/test/CodeGen/BPF/BTF/local-var-readonly-2.ll
M llvm/test/CodeGen/BPF/BTF/local-var.ll
M llvm/test/CodeGen/BPF/BTF/longlong.ll
M llvm/test/CodeGen/BPF/BTF/map-def-2.ll
M llvm/test/CodeGen/BPF/BTF/map-def-3.ll
M llvm/test/CodeGen/BPF/BTF/map-def.ll
M llvm/test/CodeGen/BPF/BTF/pruning-const.ll
M llvm/test/CodeGen/BPF/BTF/pruning-dup-ptr-struct.ll
M llvm/test/CodeGen/BPF/BTF/pruning-multi-derived-type.ll
M llvm/test/CodeGen/BPF/BTF/pruning-typedef.ll
M llvm/test/CodeGen/BPF/BTF/ptr-const-void.ll
M llvm/test/CodeGen/BPF/BTF/ptr-func-1.ll
M llvm/test/CodeGen/BPF/BTF/ptr-func-2.ll
M llvm/test/CodeGen/BPF/BTF/ptr-func-3.ll
M llvm/test/CodeGen/BPF/BTF/ptr-int.ll
M llvm/test/CodeGen/BPF/BTF/ptr-prune-type.ll
M llvm/test/CodeGen/BPF/BTF/ptr-void.ll
M llvm/test/CodeGen/BPF/BTF/ptr-volatile-const-void.ll
M llvm/test/CodeGen/BPF/BTF/ptr-volatile-void.ll
M llvm/test/CodeGen/BPF/BTF/restrict-ptr.ll
M llvm/test/CodeGen/BPF/BTF/short.ll
M llvm/test/CodeGen/BPF/BTF/static-func.ll
M llvm/test/CodeGen/BPF/BTF/static-var-derived-type.ll
M llvm/test/CodeGen/BPF/BTF/static-var-inited-sec.ll
M llvm/test/CodeGen/BPF/BTF/static-var-inited.ll
M llvm/test/CodeGen/BPF/BTF/static-var-readonly-sec.ll
M llvm/test/CodeGen/BPF/BTF/static-var-readonly.ll
M llvm/test/CodeGen/BPF/BTF/static-var-sec.ll
M llvm/test/CodeGen/BPF/BTF/static-var-zerolen-array.ll
M llvm/test/CodeGen/BPF/BTF/static-var.ll
M llvm/test/CodeGen/BPF/BTF/struct-anon-2.ll
M llvm/test/CodeGen/BPF/BTF/struct-anon.ll
M llvm/test/CodeGen/BPF/BTF/struct-basic.ll
M llvm/test/CodeGen/BPF/BTF/struct-bitfield-typedef.ll
M llvm/test/CodeGen/BPF/BTF/struct-enum.ll
M llvm/test/CodeGen/BPF/BTF/tag-1.ll
M llvm/test/CodeGen/BPF/BTF/tag-2.ll
M llvm/test/CodeGen/BPF/BTF/tag-extern-func.ll
M llvm/test/CodeGen/BPF/BTF/tag-typedef.ll
M llvm/test/CodeGen/BPF/BTF/type-tag-fixup-fwd.ll
M llvm/test/CodeGen/BPF/BTF/type-tag-fixup-resolved.ll
M llvm/test/CodeGen/BPF/BTF/type-tag-var.ll
M llvm/test/CodeGen/BPF/BTF/uchar.ll
M llvm/test/CodeGen/BPF/BTF/uint.ll
M llvm/test/CodeGen/BPF/BTF/ulonglong.ll
M llvm/test/CodeGen/BPF/BTF/union-array-typedef.ll
M llvm/test/CodeGen/BPF/BTF/ushort.ll
M llvm/test/CodeGen/BPF/BTF/weak-global-2.ll
M llvm/test/CodeGen/BPF/BTF/weak-global-3.ll
M llvm/test/CodeGen/BPF/BTF/weak-global.ll
M llvm/test/CodeGen/BPF/CORE/field-reloc-st-imm.ll
M llvm/test/CodeGen/BPF/CORE/simplifypatable-nullptr.ll
M llvm/test/CodeGen/BPF/addr-space-cast.ll
M llvm/test/CodeGen/BPF/addr-space-globals.ll
M llvm/test/CodeGen/BPF/addr-space-globals2.ll
M llvm/test/CodeGen/BPF/alu8.ll
M llvm/test/CodeGen/BPF/atomics.ll
M llvm/test/CodeGen/BPF/atomics_2.ll
M llvm/test/CodeGen/BPF/atomics_mem_order_v1.ll
M llvm/test/CodeGen/BPF/atomics_mem_order_v3.ll
M llvm/test/CodeGen/BPF/atomics_sub64_relaxed_v1.ll
M llvm/test/CodeGen/BPF/basictest.ll
M llvm/test/CodeGen/BPF/bpf-fastcall-1.ll
M llvm/test/CodeGen/BPF/bpf-fastcall-2.ll
M llvm/test/CodeGen/BPF/bpf-fastcall-3.ll
M llvm/test/CodeGen/BPF/bpf-fastcall-4.ll
M llvm/test/CodeGen/BPF/bpf-fastcall-5.ll
M llvm/test/CodeGen/BPF/bpf-fastcall-regmask-1.ll
M llvm/test/CodeGen/BPF/bswap.ll
M llvm/test/CodeGen/BPF/byval.ll
M llvm/test/CodeGen/BPF/callx.ll
M llvm/test/CodeGen/BPF/cc_args.ll
M llvm/test/CodeGen/BPF/cc_args_be.ll
M llvm/test/CodeGen/BPF/cc_ret.ll
M llvm/test/CodeGen/BPF/cmp.ll
M llvm/test/CodeGen/BPF/cttz-ctlz.ll
M llvm/test/CodeGen/BPF/dwarfdump.ll
M llvm/test/CodeGen/BPF/ex1.ll
M llvm/test/CodeGen/BPF/fi_ri.ll
M llvm/test/CodeGen/BPF/gotol.ll
M llvm/test/CodeGen/BPF/i128.ll
M llvm/test/CodeGen/BPF/inline_asm.ll
M llvm/test/CodeGen/BPF/inlineasm-wreg.ll
M llvm/test/CodeGen/BPF/intrinsics.ll
M llvm/test/CodeGen/BPF/is_trunc_free.ll
M llvm/test/CodeGen/BPF/is_zext_free.ll
M llvm/test/CodeGen/BPF/ldsx.ll
M llvm/test/CodeGen/BPF/load.ll
M llvm/test/CodeGen/BPF/loops.ll
M llvm/test/CodeGen/BPF/many_args1.ll
M llvm/test/CodeGen/BPF/many_args2.ll
M llvm/test/CodeGen/BPF/mem_offset.ll
M llvm/test/CodeGen/BPF/mem_offset_be.ll
M llvm/test/CodeGen/BPF/memcmp.ll
M llvm/test/CodeGen/BPF/memcpy-expand-in-order.ll
M llvm/test/CodeGen/BPF/movsx.ll
M llvm/test/CodeGen/BPF/no-merge-attr.ll
M llvm/test/CodeGen/BPF/optnone-1.ll
M llvm/test/CodeGen/BPF/optnone-2.ll
M llvm/test/CodeGen/BPF/remove_truncate_1.ll
M llvm/test/CodeGen/BPF/remove_truncate_2.ll
M llvm/test/CodeGen/BPF/remove_truncate_3.ll
M llvm/test/CodeGen/BPF/remove_truncate_4.ll
M llvm/test/CodeGen/BPF/remove_truncate_5.ll
M llvm/test/CodeGen/BPF/remove_truncate_6.ll
M llvm/test/CodeGen/BPF/remove_truncate_7.ll
M llvm/test/CodeGen/BPF/remove_truncate_8.ll
M llvm/test/CodeGen/BPF/remove_truncate_9.ll
M llvm/test/CodeGen/BPF/rodata_1.ll
M llvm/test/CodeGen/BPF/rodata_2.ll
M llvm/test/CodeGen/BPF/rodata_3.ll
M llvm/test/CodeGen/BPF/rodata_4.ll
M llvm/test/CodeGen/BPF/rodata_5.ll
M llvm/test/CodeGen/BPF/rodata_6.ll
M llvm/test/CodeGen/BPF/rodata_7.ll
M llvm/test/CodeGen/BPF/sdiv_smod.ll
M llvm/test/CodeGen/BPF/sdiv_to_mul.ll
M llvm/test/CodeGen/BPF/select_ri.ll
M llvm/test/CodeGen/BPF/selectiondag-bug.ll
M llvm/test/CodeGen/BPF/setcc.ll
M llvm/test/CodeGen/BPF/shifts.ll
M llvm/test/CodeGen/BPF/sockex2.ll
M llvm/test/CodeGen/BPF/spill-alu32.ll
M llvm/test/CodeGen/BPF/store_imm.ll
M llvm/test/CodeGen/BPF/struct-arg.ll
M llvm/test/CodeGen/BPF/struct_ret1.ll
M llvm/test/CodeGen/BPF/struct_ret2.ll
M llvm/test/CodeGen/BPF/undef.ll
M llvm/test/CodeGen/BPF/vararg1.ll
M llvm/test/CodeGen/BPF/warn-call.ll
M llvm/test/CodeGen/BPF/warn-stack.ll
M llvm/test/CodeGen/BPF/xadd.ll
M llvm/test/CodeGen/BPF/xadd_legal.ll
M llvm/test/CodeGen/BPF/xaddd_v1.ll
Log Message:
-----------
[BPF,test] Change llc -march= to -mtriple=
Similar to 806761a7629df268c8aed49657aeccffa6bca449
-mtriple= specifies the full target triple while -march= merely sets the
architecture part of the default target triple (e.g. Windows, macOS),
leaving a target triple which may not make sense.
Therefore, -march= is error-prone and not recommended for tests without
a target triple. The issue has been benign as we recognize
bpf*-apple-darwin as ELF instead of rejecting it outrightly.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list