[all-commits] [llvm/llvm-project] 218266: [Bitcode] Don't confuse type attributes on declara...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Mar 11 08:33:36 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2182665305d90ae7d0d2b573dced9ef0ef414a9a
https://github.com/llvm/llvm-project/commit/2182665305d90ae7d0d2b573dced9ef0ef414a9a
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-03-11 (Fri, 11 Mar 2022)
Changed paths:
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
R llvm/test/Bitcode/Inputs/missing-element-type-for-attribute.bc
M llvm/test/Bitcode/invalid.test
A llvm/test/Bitcode/sret-only-on-declaration.ll
Log Message:
-----------
[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.
More information about the All-commits
mailing list