[all-commits] [llvm/llvm-project] f32992: [VE] Support atomic load

Kazushi Marukawa via All-commits all-commits at lists.llvm.org
Mon Oct 26 02:03:05 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f32992ad24470e0abfc310dcd62359f35378be7b
      https://github.com/llvm/llvm-project/commit/f32992ad24470e0abfc310dcd62359f35378be7b
  Author: Kazushi (Jam) Marukawa <marukawa at nec.com>
  Date:   2020-10-26 (Mon, 26 Oct 2020)

  Changed paths:
    M llvm/lib/Target/VE/VEISelLowering.cpp
    M llvm/lib/Target/VE/VEISelLowering.h
    M llvm/lib/Target/VE/VEInstrInfo.td
    M llvm/lib/Target/VE/VETargetMachine.cpp
    A llvm/test/CodeGen/VE/atomic_load.ll

  Log Message:
  -----------
  [VE] Support atomic load

Support atomic load instruction and add a regression test.
VE uses release consitency, so need to insert fence around
atomic instructions.  This patch enable AtomicExpandPass
and use emitLeadingFence and emitTrailingFence mechanism
for such purpose.

Reviewed By: simoll

Differential Revision: https://reviews.llvm.org/D90135




More information about the All-commits mailing list