[PATCH] D104264: Fix atomic loads and stores of 64-bit integers in non-default address spaces on ARM.Performing an atomic load or store of a 64-bit value, using an address outside the default address space, triggers an assertion failure on ARM.The ARM back-end...

Koutheir Attouchi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 14 13:44:01 PDT 2021


koutheir created this revision.
koutheir added reviewers: rengolin, asl, t.p.northover, arsenm.
Herald added subscribers: jfb, hiraditya, kristof.beyls.
koutheir requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

...is missing an address space cast that is required in this situation.

This patch assumes that ARM synchronization semantics are the same irrespective of the address space.

Fix atomic loads and stores of 64-bit integers in non-default address spaces on ARM.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D104264

Files:
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/test/CodeGen/ARM/atomic-i64-other-address-space.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104264.351987.patch
Type: text/x-patch
Size: 4909 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210614/cd757a54/attachment.bin>


More information about the llvm-commits mailing list