[PATCH] D66322: [X86] Updated target specific selection dag code to conservatively check for isAtomic in addition to isVolatile
Philip Reames via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 3 13:40:18 PDT 2019
reames added a comment.
In D66322#1653843 <https://reviews.llvm.org/D66322#1653843>, @RKSimon wrote:
> We have the isSimple() wrapper for in LoadInst and StoreInst, could we add that to MemSDNode as well?
>
> bool isSimple() const { return !isAtomic() && !isVolatile(); }
>
I thought about it, but it seemed very likely to be confused the isSimple predicate on value types. I'm happy to add it if you want though.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66322/new/
https://reviews.llvm.org/D66322
More information about the llvm-commits
mailing list