[all-commits] [llvm/llvm-project] f10f16: Autogenerate llvm/test/CodeGen/ARM/atomic-load-sto...

Eli Friedman via All-commits all-commits at lists.llvm.org
Fri Mar 18 15:55:01 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f10f16a6a9906a062ea1f478a3623d5627eaba65
      https://github.com/llvm/llvm-project/commit/f10f16a6a9906a062ea1f478a3623d5627eaba65
  Author: Eli Friedman <efriedma at quicinc.com>
  Date:   2022-03-18 (Fri, 18 Mar 2022)

  Changed paths:
    M llvm/test/CodeGen/ARM/atomic-load-store.ll

  Log Message:
  -----------
  Autogenerate llvm/test/CodeGen/ARM/atomic-load-store.ll


  Commit: ddca66622c62721f2d05ffebefda17fc567d2cfd
      https://github.com/llvm/llvm-project/commit/ddca66622c62721f2d05ffebefda17fc567d2cfd
  Author: Eli Friedman <efriedma at quicinc.com>
  Date:   2022-03-18 (Fri, 18 Mar 2022)

  Changed paths:
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/test/CodeGen/ARM/atomic-load-store.ll

  Log Message:
  -----------
  [ARM] Fix shouldExpandAtomicLoadInIR for subtargets without ldrexd.

Regression from 2f497ec3; we should not try to generate ldrexd on
targets that don't have it.

Also, while I'm here, fix shouldExpandAtomicStoreInIR, for consistency.
That doesn't really have any practical effect, though.  On Thumb targets
where we need to use __sync_* libcalls, there is no libcall for stores,
so SelectionDAG calls __sync_lock_test_and_set_8 anyway.


Compare: https://github.com/llvm/llvm-project/compare/3abf8ebd9a75...ddca66622c62


More information about the All-commits mailing list