Commit f009f45
Dmitry Sidorov
Explicitly add 'sret' parameter attribute for builtins (#1438)
* Explicitly add 'sret' parameter attribute for builtins
It's required after:
commit 2182665305d90ae7d0d2b573dced9ef0ef414a9a
Author: Nikita Popov <npopov@redhat.com>
Date: Fri Mar 11 17:30:34 2022 +0100
[Bitcode] Don't confuse type attributes on declaration and call
We should not be using APIs here that try to fetch the attribute
from both the call attributes and the function attributes. Otherwise
we'll try to upgrade a non-existent sret attribute on the call using
the attribute on the function.
Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>
* Little refactoring
Signed-off-by: Dmitry Sidorov <dmitry.sidorov@intel.com>1 parent 697458f commit f009f45
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1949 | 1949 | | |
1950 | 1950 | | |
1951 | 1951 | | |
1952 | | - | |
1953 | | - | |
1954 | | - | |
| 1952 | + | |
| 1953 | + | |
| 1954 | + | |
1955 | 1955 | | |
1956 | 1956 | | |
1957 | 1957 | | |
1958 | 1958 | | |
| 1959 | + | |
1959 | 1960 | | |
1960 | 1961 | | |
1961 | 1962 | | |
| |||
0 commit comments