<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Reid,<br>
<br>
Out of curiosity, what's the motivation behind inalloca? I found
your update to the documentation which described their semantics,
but I didn't find any discussion of when "inalloc" parameters
would actually be useful. Could you point me to the appropriate
discussion thread? Just trying to understand the motivation for
the changes.<br>
<br>
Philip<br>
<br>
On 12/19/13 2:43 PM, Reid Kleckner wrote:<br>
</div>
<blockquote
cite="mid:differential-rev-PHID-DREV-komag6tbds2iyoaogb3y-req@llvm-reviews.chandlerc.com"
type="cite">
<pre wrap="">I searched Transforms/ and Analysis/ for 'ByVal' and updated those call
sites to check for inalloca if appropriate.
I added tests for any change that would allow an optimization to fire on
inalloca.
<a class="moz-txt-link-freetext" href="http://llvm-reviews.chandlerc.com/D2449">http://llvm-reviews.chandlerc.com/D2449</a>
Files:
include/llvm/IR/Argument.h
include/llvm/IR/Instructions.h
include/llvm/Support/CallSite.h
lib/Analysis/MemoryBuiltins.cpp
lib/Analysis/ValueTracking.cpp
lib/IR/Function.cpp
lib/IR/Instructions.cpp
lib/Transforms/IPO/ArgumentPromotion.cpp
lib/Transforms/IPO/DeadArgumentElimination.cpp
lib/Transforms/IPO/FunctionAttrs.cpp
lib/Transforms/IPO/IPConstantPropagation.cpp
lib/Transforms/InstCombine/InstCombineCalls.cpp
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
lib/Transforms/ObjCARC/ObjCARC.h
lib/Transforms/Scalar/DeadStoreElimination.cpp
test/Transforms/ArgumentPromotion/inalloca-2.ll
test/Transforms/ArgumentPromotion/inalloca.ll
test/Transforms/DeadStoreElimination/simple.ll
test/Transforms/FunctionAttrs/readattrs.ll
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
llvm-commits mailing list
<a class="moz-txt-link-abbreviated" href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a>
</pre>
</blockquote>
<br>
</body>
</html>