[PATCH] D14397: [mips] Define patterns for the atomic_{load, store}_{8, 16, 32, 64} nodes.

Vasileios Kalintiris via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 5 14:30:41 PST 2015


vkalintiris created this revision.
vkalintiris added a reviewer: dsanders.
vkalintiris added a subscriber: llvm-commits.
Herald added a subscriber: dsanders.

Without these patterns we would generate a complete LL/SC sequence.
This would be problematic for memory regions marked as WRITE-only or
READ-only, as the instructions LL/SC would read/write to the protected
memory regions correspondingly.

http://reviews.llvm.org/D14397

Files:
  lib/Target/Mips/Mips64InstrInfo.td
  lib/Target/Mips/MipsISelLowering.cpp
  lib/Target/Mips/MipsInstrInfo.td
  test/CodeGen/Mips/atomic-load-store.ll
  test/CodeGen/Mips/atomicSCr6.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14397.39419.patch
Type: text/x-patch
Size: 6250 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151105/eab80310/attachment.bin>


More information about the llvm-commits mailing list