[all-commits] [llvm/llvm-project] 6312a7: [BitcodeReader] Handle type attributes more explic...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Tue Jul 20 12:08:33 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6312a75dbaaf2d4c968cfa3322fc9df60621d4ee
https://github.com/llvm/llvm-project/commit/6312a75dbaaf2d4c968cfa3322fc9df60621d4ee
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2021-07-20 (Tue, 20 Jul 2021)
Changed paths:
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
Log Message:
-----------
[BitcodeReader] Handle type attributes more explicitly (NFCI)
For attributes in legacy bitcode that are now typed, explicitly
create a type attribute with nullptr type, the same as we do
for the attribute group representation. This is so we can assert
use of the correct constructor in the future.
More information about the All-commits
mailing list