This revision was automatically updated to reflect the committed changes.
jdoerfert marked an inline comment as done.
Closed by commit rL370817: [Attributor] Deduce "no-capture" argument
attribute (authored by jdoerfert, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D59922?v
jdoerfert marked 6 inline comments as done.
jdoerfert added inline comments.
Comment at: llvm/lib/Transforms/IPO/Attributor.cpp:2618
+else
+ Attrs.emplace_back(Attribute::get(Ctx, "no-capture-maybe-returned"));
+ }
uenoku wrote:
> Maybe we need an exact
uenoku accepted this revision.
uenoku added a comment.
This revision is now accepted and ready to land.
I think the logic is sound. It looks good to me.
Comment at: llvm/lib/Transforms/IPO/Attributor.cpp:2618
+else
+ Attrs.emplace_back(Attribute::get(Ctx, "no-capture-m
jdoerfert updated this revision to Diff 218109.
jdoerfert added a comment.
Update tests
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59922/new/
https://reviews.llvm.org/D59922
Files:
llvm/include/llvm/Transforms/IPO/Attributor.h
llvm/lib/Tran
jdoerfert updated this revision to Diff 217306.
jdoerfert added a comment.
rebase and update tests
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59922/new/
https://reviews.llvm.org/D59922
Files:
llvm/include/llvm/Transforms/IPO/Attributor.h
ll
jdoerfert updated this revision to Diff 215716.
jdoerfert added a comment.
Add tests accidentally removed
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59922/new/
https://reviews.llvm.org/D59922
Files:
llvm/include/llvm/Transforms/IPO/Attributor
jdoerfert updated this revision to Diff 215713.
jdoerfert added a comment.
Add more test coverage and improve capture information based on
dereferenceability
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59922/new/
https://reviews.llvm.org/D59922
jdoerfert updated this revision to Diff 215504.
jdoerfert added a comment.
Extracted CaptureTracking changes
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59922/new/
https://reviews.llvm.org/D59922
Files:
llvm/include/llvm/Transforms/IPO/Attribu
jdoerfert updated this revision to Diff 215498.
jdoerfert added a comment.
Rebase
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59922/new/
https://reviews.llvm.org/D59922
Files:
llvm/include/llvm/Transforms/IPO/Attributor.h
llvm/lib/Analysis/C
jdoerfert updated this revision to Diff 208811.
jdoerfert added a comment.
Herald added a subscriber: jfb.
Rebase
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59922/new/
https://reviews.llvm.org/D59922
Files:
llvm/include/llvm/Transforms/IPO/At
jdoerfert added a comment.
@hfinkel ping
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59922/new/
https://reviews.llvm.org/D59922
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.l
jdoerfert updated this revision to Diff 193122.
jdoerfert added a comment.
Rebase
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59922/new/
https://reviews.llvm.org/D59922
Files:
clang/test/CodeGenObjC/os_log.m
clang/test/CodeGenOpenCL/as_type.
jdoerfert updated this revision to Diff 192962.
jdoerfert added a comment.
Closed a side-channel through "integers"
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59922/new/
https://reviews.llvm.org/D59922
Files:
clang/test/CodeGenObjC/os_log.m
jdoerfert marked 2 inline comments as done.
jdoerfert added inline comments.
Comment at: llvm/test/Transforms/FunctionAttrs/arg_nocapture.ll:103
-; FIXME: returned missing for %a
; FIXME: We should *not* derive any attributes for the return value not
present on the argument!
;
jdoerfert created this revision.
jdoerfert added reviewers: homerdin, hfinkel, fedor.sergeev, sanjoy, spatel,
nlopes, nicholas, reames.
Herald added subscribers: cfe-commits, bollu, hiraditya.
Herald added projects: clang, LLVM.
Add the no-capture argument attribute deduction to the Attributor
fi
15 matches
Mail list logo