aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2021-12-21 09:15:54 -0800
committerPhilip Reames <listmail@philipreames.com>2021-12-21 09:34:14 -0800
commitb7b308c50ae51629a63e759cd1171714eca7784c (patch)
treedce349a835f3dadb2c324f37713ccc994833978d /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parent1fee7195c99a3cbeabb1ade35b00d974b4829e58 (diff)
downloadllvm-b7b308c50ae51629a63e759cd1171714eca7784c.zip
llvm-b7b308c50ae51629a63e759cd1171714eca7784c.tar.gz
llvm-b7b308c50ae51629a63e759cd1171714eca7784c.tar.bz2
[funcattrs] Infer access attributes for vararg arguments
This change allows us to infer access attributes (readnone, readonly) on arguments passed to vararg functions. Since there isn't a formal argument corresponding to the parameter, they'll never be considered part of the speculative SCC, but they can still benefit from attributes on the call site or the callee function. The main motivation here is just to simplify the code, and remove some special casing. Previously, an indirect vararg call could return more precise results than an direct vararg call which is just weird. Differential Revision: https://reviews.llvm.org/D115964
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions