[PATCH] D53965: IR: Add fp operations to atomicrmw

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 6 10:14:44 PST 2018


arsenm marked an inline comment as done.
arsenm added inline comments.


================
Comment at: include/llvm/IR/Instructions.h:813
 
+  bool isFloatingPointOperation() const {
+    return isFPOperation(getOperation());
----------------
arsenm wrote:
> jyknight wrote:
> > Unused?
> It's not used here, but included for completeness since all of the other instructions do this (e.g. ICmpInst::getUnsignedPredicate
I found a use for it when updating all the targets anyway


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D53965/new/

https://reviews.llvm.org/D53965





More information about the llvm-commits mailing list