[PATCH] D60033: [MSP430] Expand Atomic nodes
Afonso Bordado via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 30 10:41:47 PDT 2019
INdek created this revision.
INdek added reviewers: asl, mskvortsov.
Herald added subscribers: llvm-commits, jdoerfert, jfb, hiraditya.
Herald added a project: LLVM.
Expand most atomic nodes into their respective libcalls.
Missing is the cmpxchg operation which produces ATOMIC_CMP_SWAP_WITH_SUCCESS.
A number of optimizations can still be done with these nodes.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D60033
Files:
llvm/lib/Target/MSP430/MSP430ISelLowering.cpp
llvm/test/CodeGen/MSP430/atomics/fence.ll
llvm/test/CodeGen/MSP430/atomics/load.ll
llvm/test/CodeGen/MSP430/atomics/load_add.ll
llvm/test/CodeGen/MSP430/atomics/load_and.ll
llvm/test/CodeGen/MSP430/atomics/load_max.ll
llvm/test/CodeGen/MSP430/atomics/load_min.ll
llvm/test/CodeGen/MSP430/atomics/load_nand.ll
llvm/test/CodeGen/MSP430/atomics/load_or.ll
llvm/test/CodeGen/MSP430/atomics/load_sub.ll
llvm/test/CodeGen/MSP430/atomics/load_swap.ll
llvm/test/CodeGen/MSP430/atomics/load_umax.ll
llvm/test/CodeGen/MSP430/atomics/load_umin.ll
llvm/test/CodeGen/MSP430/atomics/load_xor.ll
llvm/test/CodeGen/MSP430/atomics/store.ll
llvm/test/CodeGen/MSP430/atomics/swap.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60033.192984.patch
Type: text/x-patch
Size: 15911 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190330/b1919104/attachment.bin>
More information about the llvm-commits
mailing list