diff options
author | Stephen Lin <stephenwlin@gmail.com> | 2013-04-23 16:31:56 +0000 |
---|---|---|
committer | Stephen Lin <stephenwlin@gmail.com> | 2013-04-23 16:31:56 +0000 |
commit | 6c70dc7842fdc036de1a49a8f62026f5cd6d0c23 (patch) | |
tree | 41f8453bf53c3c436214b078ea62be54fec97f5f /llvm/lib/Transforms/Vectorize | |
parent | 038ff816e17f7675f24b1ad2270da5f1d8799582 (diff) | |
download | bcm5719-llvm-6c70dc7842fdc036de1a49a8f62026f5cd6d0c23.tar.gz bcm5719-llvm-6c70dc7842fdc036de1a49a8f62026f5cd6d0c23.zip |
Add some constraints to use of 'returned':
1) Disallow 'returned' on parameter that is also 'sret' (no sensible semantics, as far as I can tell).
2) Conservatively disallow tail calls through 'returned' parameters that also are 'zext' or 'sext' (for consistency with treatment of other zero-extending and sign-extending operations in tail call position detection...can be revised later to handle situations that can be determined to be safe).
This is a new attribute that is not yet used, so there is no impact.
llvm-svn: 180118
Diffstat (limited to 'llvm/lib/Transforms/Vectorize')
0 files changed, 0 insertions, 0 deletions