[all-commits] [llvm/llvm-project] 5240e0: [VE, test] Change llc -march= to -mtriple=

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Dec 15 10:24:37 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5240e0b891fc4bf69d362199f70c94c28a7b9465
      https://github.com/llvm/llvm-project/commit/5240e0b891fc4bf69d362199f70c94c28a7b9465
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-12-15 (Sun, 15 Dec 2024)

  Changed paths:
    M llvm/test/CodeGen/VE/Packed/vec_fneg.ll
    M llvm/test/CodeGen/VE/Packed/vp_add.ll
    M llvm/test/CodeGen/VE/Packed/vp_and.ll
    M llvm/test/CodeGen/VE/Packed/vp_fadd.ll
    M llvm/test/CodeGen/VE/Packed/vp_fdiv.ll
    M llvm/test/CodeGen/VE/Packed/vp_fmul.ll
    M llvm/test/CodeGen/VE/Packed/vp_fsub.ll
    M llvm/test/CodeGen/VE/Packed/vp_mul.ll
    M llvm/test/CodeGen/VE/Packed/vp_or.ll
    M llvm/test/CodeGen/VE/Packed/vp_sdiv.ll
    M llvm/test/CodeGen/VE/Packed/vp_shl.ll
    M llvm/test/CodeGen/VE/Packed/vp_sra.ll
    M llvm/test/CodeGen/VE/Packed/vp_srl.ll
    M llvm/test/CodeGen/VE/Packed/vp_sub.ll
    M llvm/test/CodeGen/VE/Packed/vp_udiv.ll
    M llvm/test/CodeGen/VE/Packed/vp_xor.ll
    M llvm/test/CodeGen/VE/Vector/expand_single_elem_build_vec.ll
    M llvm/test/CodeGen/VE/Vector/feature_vpu.ll
    M llvm/test/CodeGen/VE/Vector/vec_fma.ll
    M llvm/test/CodeGen/VE/Vector/vec_fneg.ll
    M llvm/test/CodeGen/VE/Vector/vec_reduce_add.ll
    M llvm/test/CodeGen/VE/Vector/vec_reduce_and.ll
    M llvm/test/CodeGen/VE/Vector/vec_reduce_or.ll
    M llvm/test/CodeGen/VE/Vector/vec_reduce_smax.ll
    M llvm/test/CodeGen/VE/Vector/vec_reduce_xor.ll
    M llvm/test/CodeGen/VE/Vector/vec_select.ll
    M llvm/test/CodeGen/VE/Vector/vp_add.ll
    M llvm/test/CodeGen/VE/Vector/vp_and.ll
    M llvm/test/CodeGen/VE/Vector/vp_ashr.ll
    M llvm/test/CodeGen/VE/Vector/vp_fadd.ll
    M llvm/test/CodeGen/VE/Vector/vp_fadd_merge.ll
    M llvm/test/CodeGen/VE/Vector/vp_fdiv.ll
    M llvm/test/CodeGen/VE/Vector/vp_fdiv_merge.ll
    M llvm/test/CodeGen/VE/Vector/vp_fma.ll
    M llvm/test/CodeGen/VE/Vector/vp_fma_merge.ll
    M llvm/test/CodeGen/VE/Vector/vp_fmul.ll
    M llvm/test/CodeGen/VE/Vector/vp_fmul_merge.ll
    M llvm/test/CodeGen/VE/Vector/vp_fsub.ll
    M llvm/test/CodeGen/VE/Vector/vp_fsub_merge.ll
    M llvm/test/CodeGen/VE/Vector/vp_lshr.ll
    M llvm/test/CodeGen/VE/Vector/vp_merge.ll
    M llvm/test/CodeGen/VE/Vector/vp_mul.ll
    M llvm/test/CodeGen/VE/Vector/vp_or.ll
    M llvm/test/CodeGen/VE/Vector/vp_reduce_add.ll
    M llvm/test/CodeGen/VE/Vector/vp_reduce_and.ll
    M llvm/test/CodeGen/VE/Vector/vp_reduce_or.ll
    M llvm/test/CodeGen/VE/Vector/vp_reduce_smax.ll
    M llvm/test/CodeGen/VE/Vector/vp_reduce_xor.ll
    M llvm/test/CodeGen/VE/Vector/vp_sdiv.ll
    M llvm/test/CodeGen/VE/Vector/vp_select.ll
    M llvm/test/CodeGen/VE/Vector/vp_shl.ll
    M llvm/test/CodeGen/VE/Vector/vp_sra.ll
    M llvm/test/CodeGen/VE/Vector/vp_srem.ll
    M llvm/test/CodeGen/VE/Vector/vp_srl.ll
    M llvm/test/CodeGen/VE/Vector/vp_sub.ll
    M llvm/test/CodeGen/VE/Vector/vp_udiv.ll
    M llvm/test/CodeGen/VE/Vector/vp_urem.ll
    M llvm/test/CodeGen/VE/Vector/vp_xor.ll
    M llvm/test/CodeGen/VE/null-mctargetstreamer.ll

  Log Message:
  -----------
  [VE,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, 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 $ve-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