[PATCH] D41104: Set the NoRecurse attribute for the dbg intrinsics.
Matt Davis via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 11 21:15:37 PST 2017
mattd created this revision.
Fixes PR34696
This patch sets the NoRecurse attribute for the debug intrinsics:
dbg.declare
dbg.value
dbg.addr
The purpose of this change is to not have the debugger intrinsics influence code generation. Previously, if a function made a call to the llvm.dbg.value intrinsic, that caller function would not be optimized with the norecurse attribute, even if it was truly not a recursive function.
https://reviews.llvm.org/D41104
Files:
include/llvm/IR/Intrinsics.td
test/CodeGen/Generic/dbg-influenced-attrs.ll
test/Transforms/DeadArgElim/2010-04-30-DbgInfo.ll
test/Transforms/ObjCARC/basic.ll
test/Transforms/ObjCARC/ensure-that-exception-unwind-path-is-visited.ll
utils/TableGen/CodeGenIntrinsics.h
utils/TableGen/CodeGenTarget.cpp
utils/TableGen/IntrinsicEmitter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41104.126497.patch
Type: text/x-patch
Size: 7318 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171212/3bbbb782/attachment.bin>
More information about the llvm-commits
mailing list