From: Hal Finkel Date: Mon, 22 Sep 2014 06:47:10 +0000 (+0000) Subject: Update comment on AtomicRMWInst::Nand X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1e165a0d5ec41e8847b59c9f67d0e471b7a3b58b;p=oota-llvm.git Update comment on AtomicRMWInst::Nand As of July 2014, all backends have been updated to implement AtomicRMWInst::Nand as ~(x & y) (and not as x & ~y, as some did previously). This was added to the release notes in r212635 (and the LangRef had been changed), but it seems that we forgot to update the header-file description. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218236 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/IR/Instructions.h b/include/llvm/IR/Instructions.h index 9f22eab8cb0..dcf19e0972d 100644 --- a/include/llvm/IR/Instructions.h +++ b/include/llvm/IR/Instructions.h @@ -651,7 +651,7 @@ public: Sub, /// *p = old & v And, - /// *p = ~old & v + /// *p = ~(old & v) Nand, /// *p = old | v Or,