[PATCH] D51217: [RISCV] atomic_store_nn have a different layout to regular store

Roger Ferrer Ibanez via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 24 07:24:20 PDT 2018


rogfer01 created this revision.
rogfer01 added reviewers: asb, efriedma.
Herald added subscribers: jocewei, PkmX, jfb, rkruppe, the_o, brucehoult, MartinMosbeck, mgrang, edward-jones, zzheng, shiva0217, kito-cheng, niosHD, sabuasal, apazos, simoncook, johnrusso, rbar.

We cannot directy reuse the patters of `StPat` because for some reason the store DAG node and the atomic_store_nn DAG nodes put the `ptr` and the `value` in different positions. Currently we attempt to store the address to an address formed by the value.


https://reviews.llvm.org/D51217

Files:
  lib/Target/RISCV/RISCVInstrInfoA.td
  test/CodeGen/RISCV/atomic-load-store.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51217.162378.patch
Type: text/x-patch
Size: 4768 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180824/a3c4065c/attachment.bin>


More information about the llvm-commits mailing list