[llvm] r267238 - Fix comment about Intr*Mem properties

Nicolai Haehnle via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 22 15:37:58 PDT 2016


Author: nha
Date: Fri Apr 22 17:37:58 2016
New Revision: 267238

URL: http://llvm.org/viewvc/llvm-project?rev=267238&view=rev
Log:
Fix comment about Intr*Mem properties

Summary:
Follow up to D19291: it now makes sense to use two Intr*Mem properties,
in particular IntrReadMem + IntrArgMemOnly is common.

Pointed out by Mikael Holmén.

Reviewers: uabelho, joker.eph, reames

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D19418

Modified:
    llvm/trunk/include/llvm/IR/Intrinsics.td

Modified: llvm/trunk/include/llvm/IR/Intrinsics.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Intrinsics.td?rev=267238&r1=267237&r2=267238&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/Intrinsics.td (original)
+++ llvm/trunk/include/llvm/IR/Intrinsics.td Fri Apr 22 17:37:58 2016
@@ -19,9 +19,7 @@ include "llvm/CodeGen/ValueTypes.td"
 
 class IntrinsicProperty;
 
-// Intr*Mem - Memory properties.  An intrinsic is allowed to have at most one of
-// these properties set.  They are listed from the most aggressive (best to use
-// if correct) to the least aggressive.  If no property is set, the worst case
+// Intr*Mem - Memory properties.  If no property is set, the worst case
 // is assumed (it may read and write any memory it can get access to and it may
 // have other side effects).
 




More information about the llvm-commits mailing list