[PATCH] D18714: Add writeonly IR attribute
Filipe Cabecinhas via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 12 06:15:24 PDT 2016
filcab added a subscriber: filcab.
================
Comment at: llvm/trunk/include/llvm/IR/Intrinsics.td:367
@@ -360,3 +366,3 @@
llvm_i32_ty, llvm_i1_ty],
- [IntrArgMemOnly, NoCapture<0>]>;
+ [IntrArgMemOnly, NoCapture<0>, WriteOnly<0>]>;
----------------
Shouldn't memset be `WriteOnly<1>`?
Repository:
rL LLVM
http://reviews.llvm.org/D18714
More information about the llvm-commits
mailing list