[all-commits] [llvm/llvm-project] 728490: [Sparc, test] Change llc -march= to -mtriple=

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


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

  Changed paths:
    M llvm/test/CodeGen/SPARC/2006-01-22-BitConvertLegalize.ll
    M llvm/test/CodeGen/SPARC/2007-05-09-JumpTables.ll
    M llvm/test/CodeGen/SPARC/2007-07-05-LiveIntervalAssert.ll
    M llvm/test/CodeGen/SPARC/2008-10-10-InlineAsmMemoryOperand.ll
    M llvm/test/CodeGen/SPARC/2008-10-10-InlineAsmRegOperand.ll
    M llvm/test/CodeGen/SPARC/2009-08-28-PIC.ll
    M llvm/test/CodeGen/SPARC/2009-08-28-WeakLinkage.ll
    M llvm/test/CodeGen/SPARC/2011-01-11-CC.ll
    M llvm/test/CodeGen/SPARC/2011-01-11-Call.ll
    M llvm/test/CodeGen/SPARC/2011-01-11-FrameAddr.ll
    M llvm/test/CodeGen/SPARC/2011-01-19-DelaySlot.ll
    M llvm/test/CodeGen/SPARC/2011-01-21-ByValArgs.ll
    M llvm/test/CodeGen/SPARC/2011-01-22-SRet.ll
    M llvm/test/CodeGen/SPARC/2011-12-03-TailDuplication.ll
    M llvm/test/CodeGen/SPARC/2013-05-17-CallFrame.ll
    M llvm/test/CodeGen/SPARC/32abi.ll
    M llvm/test/CodeGen/SPARC/64abi.ll
    M llvm/test/CodeGen/SPARC/64atomics.ll
    M llvm/test/CodeGen/SPARC/64bit.ll
    M llvm/test/CodeGen/SPARC/64spill.ll
    M llvm/test/CodeGen/SPARC/DbgValueOtherTargets.test
    M llvm/test/CodeGen/SPARC/LeonCASAInstructionUT.ll
    M llvm/test/CodeGen/SPARC/LeonDetectRoundChangePassUT.ll
    M llvm/test/CodeGen/SPARC/LeonFixAllFDIVSQRTPassUT.ll
    M llvm/test/CodeGen/SPARC/LeonInsertNOPLoadPassUT.ll
    M llvm/test/CodeGen/SPARC/LeonItinerariesUT.ll
    M llvm/test/CodeGen/SPARC/LeonSMACUMACInstructionUT.ll
    M llvm/test/CodeGen/SPARC/alloca-align.ll
    M llvm/test/CodeGen/SPARC/atomicrmw-uinc-udec-wrap.ll
    M llvm/test/CodeGen/SPARC/atomics.ll
    M llvm/test/CodeGen/SPARC/basictest.ll
    M llvm/test/CodeGen/SPARC/cast-sret-func.ll
    M llvm/test/CodeGen/SPARC/ctpop.ll
    M llvm/test/CodeGen/SPARC/cttz.ll
    M llvm/test/CodeGen/SPARC/data-align.ll
    M llvm/test/CodeGen/SPARC/disable-fsmuld-fmuls.ll
    M llvm/test/CodeGen/SPARC/float-constants.ll
    M llvm/test/CodeGen/SPARC/float.ll
    M llvm/test/CodeGen/SPARC/fp128.ll
    M llvm/test/CodeGen/SPARC/inlineasm-bad.ll
    M llvm/test/CodeGen/SPARC/inlineasm-v9.ll
    M llvm/test/CodeGen/SPARC/inlineasm.ll
    M llvm/test/CodeGen/SPARC/leafproc.ll
    M llvm/test/CodeGen/SPARC/mult-alt-generic-sparc.ll
    M llvm/test/CodeGen/SPARC/multiple-div.ll
    M llvm/test/CodeGen/SPARC/parts.ll
    M llvm/test/CodeGen/SPARC/private.ll
    M llvm/test/CodeGen/SPARC/readcycle.ll
    M llvm/test/CodeGen/SPARC/reg64.ll
    M llvm/test/CodeGen/SPARC/register-clobber.ll
    M llvm/test/CodeGen/SPARC/reserved-regs.ll
    M llvm/test/CodeGen/SPARC/salvage-debug-isel.ll
    M llvm/test/CodeGen/SPARC/select-mask.ll
    M llvm/test/CodeGen/SPARC/setjmp.ll
    M llvm/test/CodeGen/SPARC/soft-float.ll
    M llvm/test/CodeGen/SPARC/soft-mul-div.ll
    M llvm/test/CodeGen/SPARC/spill.ll
    M llvm/test/CodeGen/SPARC/sret-secondary.ll
    M llvm/test/CodeGen/SPARC/stack-align.ll
    M llvm/test/CodeGen/SPARC/tn0009.mir
    M llvm/test/CodeGen/SPARC/tn0010.mir
    M llvm/test/CodeGen/SPARC/tn0012.mir
    M llvm/test/CodeGen/SPARC/tn0013.mir
    M llvm/test/CodeGen/SPARC/vector-call.ll
    M llvm/test/CodeGen/SPARC/vector-extract-elt.ll
    M llvm/test/CodeGen/SPARC/zerostructcall.ll

  Log Message:
  -----------
  [Sparc,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 sparc*-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