[PATCH] D32762: [Atomic] Remove IsStore/IsLoad in the interface, and pass the instruction instead. NFC.
Tim Shen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 5 15:16:51 PDT 2017
timshen updated this revision to Diff 98026.
timshen added a comment.
Instruction::mayReadFromMemory and Instruction::mayWriteToMemory has their own subtlties. Created Instruction::isAtomicLoad and Instruction::isAtomicStore instead.
https://reviews.llvm.org/D32762
Files:
llvm/include/llvm/IR/Instruction.h
llvm/include/llvm/Target/TargetLowering.h
llvm/lib/CodeGen/AtomicExpandPass.cpp
llvm/lib/IR/Instruction.cpp
llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/lib/Target/ARM/ARMISelLowering.h
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/lib/Target/PowerPC/PPCISelLowering.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32762.98026.patch
Type: text/x-patch
Size: 13274 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170505/0468aaa6/attachment.bin>
More information about the llvm-commits
mailing list