[all-commits] [llvm/llvm-project] 2cf9a0: Align store conditional address

bcahoon via All-commits all-commits at lists.llvm.org
Mon Aug 3 06:54:41 PDT 2020


  Branch: refs/heads/release/11.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 2cf9a07fdcf683fdb2dfad6eeb79a78d8d3a8e3a
      https://github.com/llvm/llvm-project/commit/2cf9a07fdcf683fdb2dfad6eeb79a78d8d3a8e3a
  Author: Brendon Cahoon <bcahoon at quicinc.com>
  Date:   2020-08-03 (Mon, 03 Aug 2020)

  Changed paths:
    M llvm/lib/CodeGen/AtomicExpandPass.cpp
    A llvm/test/CodeGen/Hexagon/atomic-store-byte.ll

  Log Message:
  -----------
  Align store conditional address

In cases where the alignment of the datatype is smaller than
expected by the instruction, the address is aligned. The aligned
address is used for the load, but wasn't used for the store
conditional, which resulted in a run-time alignment exception.

(cherry picked from commit 7b114446c320de542c50c4c02f566e5d18adee33)




More information about the All-commits mailing list