diff options
author | Keno Fischer <keno@alumni.harvard.edu> | 2018-07-26 21:55:03 +0000 |
---|---|---|
committer | Keno Fischer <keno@alumni.harvard.edu> | 2018-07-26 21:55:03 +0000 |
commit | 259ea987f56a2e68379adfbf290a52ef855d0207 (patch) | |
tree | 0f3684d9ba3f59b5d07891d8b25efc6eef383da5 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py | |
parent | 0f81faed05c3c7c1fbaf6af402411c99d715cf56 (diff) | |
download | bcm5719-llvm-259ea987f56a2e68379adfbf290a52ef855d0207.tar.gz bcm5719-llvm-259ea987f56a2e68379adfbf290a52ef855d0207.zip |
[SCEV] Add an expandAddToGEP overload for a single operand. NFC.
Only wanting to pass a single SCEV operand to use as the offset of
the GEP is a common operation. Right now this requires creating a
temporary stack array at every call site. Add an overload
that encapsulates that pattern and simplify the call sites.
Suggested-By: sanjoy (in https://reviews.llvm.org/D49832)
llvm-svn: 338072
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py')
0 files changed, 0 insertions, 0 deletions