diff options
author | David Majnemer <david.majnemer@gmail.com> | 2016-09-12 16:04:59 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2016-09-12 16:04:59 +0000 |
commit | c83044d9bb6a1fc7b0962f499c03144c6858a7bc (patch) | |
tree | c0ae7de20a16f5fcc21828cd56e95457efef1296 /llvm/lib/CodeGen/CalcSpillWeights.cpp | |
parent | 0531f0a5bbd581bcb794bfa05b80c57a4aec68cc (diff) | |
download | bcm5719-llvm-c83044d9bb6a1fc7b0962f499c03144c6858a7bc.tar.gz bcm5719-llvm-c83044d9bb6a1fc7b0962f499c03144c6858a7bc.zip |
[FunctionAttrs] Don't try to infer returned if it is already on an argument
Trying to infer the 'returned' attribute if an argument is already
'returned' can lead to verification failure: inference might determine
that a different argument is passed through which would result in two
different arguments marked as 'returned'.
This fixes PR30350.
llvm-svn: 281221
Diffstat (limited to 'llvm/lib/CodeGen/CalcSpillWeights.cpp')
0 files changed, 0 insertions, 0 deletions