[all-commits] [llvm/llvm-project] 9ef1d3: [AVR, test] Change llc -march= to -mtriple=

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


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

  Changed paths:
    M llvm/test/CodeGen/AVR/PR31344.ll
    M llvm/test/CodeGen/AVR/PR31345.ll
    M llvm/test/CodeGen/AVR/PR37143.ll
    M llvm/test/CodeGen/AVR/add.ll
    M llvm/test/CodeGen/AVR/alloca.ll
    M llvm/test/CodeGen/AVR/and.ll
    M llvm/test/CodeGen/AVR/atomics/fence.ll
    M llvm/test/CodeGen/AVR/atomics/load-store-16-unexpected-register-bug.ll
    M llvm/test/CodeGen/AVR/atomics/load16.ll
    M llvm/test/CodeGen/AVR/atomics/load32.ll
    M llvm/test/CodeGen/AVR/atomics/load64.ll
    M llvm/test/CodeGen/AVR/atomics/load8.ll
    M llvm/test/CodeGen/AVR/atomics/store.ll
    M llvm/test/CodeGen/AVR/atomics/store16.ll
    M llvm/test/CodeGen/AVR/atomics/swap.ll
    M llvm/test/CodeGen/AVR/avr-rust-issue-123.ll
    M llvm/test/CodeGen/AVR/block-address-is-in-progmem-space.ll
    M llvm/test/CodeGen/AVR/branch-relaxation-long.ll
    M llvm/test/CodeGen/AVR/branch-relaxation.ll
    M llvm/test/CodeGen/AVR/brind.ll
    M llvm/test/CodeGen/AVR/calling-conv/c/call.ll
    M llvm/test/CodeGen/AVR/calling-conv/c/call_aggr.ll
    M llvm/test/CodeGen/AVR/calling-conv/c/return.ll
    M llvm/test/CodeGen/AVR/calling-conv/c/return_aggr.ll
    M llvm/test/CodeGen/AVR/clear-bss.ll
    M llvm/test/CodeGen/AVR/cmp.ll
    M llvm/test/CodeGen/AVR/copy-data-to-ram.ll
    M llvm/test/CodeGen/AVR/ctlz.ll
    M llvm/test/CodeGen/AVR/ctpop.ll
    M llvm/test/CodeGen/AVR/cttz.ll
    M llvm/test/CodeGen/AVR/directmem.ll
    M llvm/test/CodeGen/AVR/div.ll
    M llvm/test/CodeGen/AVR/dynalloca.ll
    M llvm/test/CodeGen/AVR/eor.ll
    M llvm/test/CodeGen/AVR/expand-integer-failure.ll
    M llvm/test/CodeGen/AVR/features/avr25.ll
    M llvm/test/CodeGen/AVR/features/xmega_io.ll
    M llvm/test/CodeGen/AVR/frame.ll
    M llvm/test/CodeGen/AVR/frmidx-iterator-bug.ll
    M llvm/test/CodeGen/AVR/high-pressure-on-ptrregs.ll
    M llvm/test/CodeGen/AVR/icall-func-pointer-correct-addr-space.ll
    M llvm/test/CodeGen/AVR/impossible-reg-to-reg-copy.ll
    M llvm/test/CodeGen/AVR/inline-asm/inline-asm.ll
    M llvm/test/CodeGen/AVR/inline-asm/inline-asm2.ll
    M llvm/test/CodeGen/AVR/integration/blink.ll
    M llvm/test/CodeGen/AVR/interrupts.ll
    M llvm/test/CodeGen/AVR/intrinsics/named-reg-alloc.ll
    M llvm/test/CodeGen/AVR/intrinsics/named-reg-special.ll
    M llvm/test/CodeGen/AVR/intrinsics/stacksave-restore.ll
    M llvm/test/CodeGen/AVR/io.ll
    M llvm/test/CodeGen/AVR/issue-cannot-select-bswap.ll
    M llvm/test/CodeGen/AVR/issue-regalloc-stackframe-folding-earlyclobber.ll
    M llvm/test/CodeGen/AVR/large-return-size.ll
    M llvm/test/CodeGen/AVR/ldd-immediate-overflow.ll
    M llvm/test/CodeGen/AVR/load.ll
    M llvm/test/CodeGen/AVR/lower-formal-args-struct-return.ll
    M llvm/test/CodeGen/AVR/lower-formal-arguments-assertion.ll
    M llvm/test/CodeGen/AVR/no-clear-bss.ll
    M llvm/test/CodeGen/AVR/no-copy-data.ll
    M llvm/test/CodeGen/AVR/no-print-operand-twice.ll
    M llvm/test/CodeGen/AVR/or.ll
    M llvm/test/CodeGen/AVR/pre-schedule.ll
    M llvm/test/CodeGen/AVR/progmem-extended.ll
    M llvm/test/CodeGen/AVR/progmem.ll
    M llvm/test/CodeGen/AVR/pseudo/LDDWRdYQ.mir
    M llvm/test/CodeGen/AVR/rem.ll
    M llvm/test/CodeGen/AVR/runtime-trig.ll
    M llvm/test/CodeGen/AVR/rust-avr-bug-112.ll
    M llvm/test/CodeGen/AVR/rust-avr-bug-37.ll
    M llvm/test/CodeGen/AVR/rust-avr-bug-95.ll
    M llvm/test/CodeGen/AVR/rust-avr-bug-99.ll
    M llvm/test/CodeGen/AVR/rust-bug-98167.ll
    M llvm/test/CodeGen/AVR/select-must-add-unconditional-jump.ll
    M llvm/test/CodeGen/AVR/sext.ll
    M llvm/test/CodeGen/AVR/shift.ll
    M llvm/test/CodeGen/AVR/sign-extension.ll
    M llvm/test/CodeGen/AVR/smul-with-overflow.ll
    M llvm/test/CodeGen/AVR/software-mul.ll
    M llvm/test/CodeGen/AVR/std-immediate-overflow.ll
    M llvm/test/CodeGen/AVR/std-ldd-immediate-overflow.ll
    M llvm/test/CodeGen/AVR/stdwstk.ll
    M llvm/test/CodeGen/AVR/store-undef.ll
    M llvm/test/CodeGen/AVR/store.ll
    M llvm/test/CodeGen/AVR/sub.ll
    M llvm/test/CodeGen/AVR/trunc.ll
    M llvm/test/CodeGen/AVR/umul-with-overflow.ll
    M llvm/test/CodeGen/AVR/umul.with.overflow.i16-bug.ll
    M llvm/test/CodeGen/AVR/unaligned-atomic-ops.ll
    M llvm/test/CodeGen/AVR/varargs.ll
    M llvm/test/CodeGen/AVR/xor.ll
    M llvm/test/CodeGen/AVR/zeroreg.ll
    M llvm/test/CodeGen/AVR/zext.ll

  Log Message:
  -----------
  [AVR,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 avr-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