-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bcwriter turns <2 x i10> into <2 x opaque> #1566
Comments
This seems to have something to do with the recent Type.cpp change that |
This had to do with a combination of things:
The above caused a type slot number arrangement that forced the IntegerType The fix for this is to just make sure that we insert things in a sane order. looks at a type's sub-types and inserts any that cannot recurse back before the #9: opaque#10 * Now, it is inserted like this: #9: i10 |
I'm reopening this, as Reid is reevaluating this approach. -Chris |
The fix for this was to allow the PackedType constructor to allow opaque types Problem resolved. |
…#1566) Map function results to mlir values before generating host routine association tuples, which may include function results.
…493a982302a854df332e [lldb] Add SBCommandInterpreterRunOptions to LLDB.h
Extended Description
Causes this test case to fail: test/Integer/packed_bt.ll
with this stack trace:
3 0x005c4859 in __assert_fail () from /lib/libc.so.6
#4 0x081d9c39 in PackedType (this=0x9e3fe70, ElType=0x9e3fed0, NumEl=2) at
Type.cpp:429
#5 0x081dcd53 in llvm::PackedType::get (ElementType=0x9e3fed0, NumElements=2)
at Type.cpp:1165
#6 0x0815a10a in llvm::BytecodeReader::ParseType (this=0x9e3f788) at
Reader.cpp:1019
#7 0x0815a417 in llvm::BytecodeReader::ParseTypes (this=0x9e3f788,
Tab=@0x9e3f84c, NumEntries=12) at Reader.cpp:1091
#8 0x0815a537 in llvm::BytecodeReader::ParseGlobalTypes (this=0x9e3f788) at
Reader.cpp:1668
#9 0x0815aa0d in llvm::BytecodeReader::ParseModule (this=0x9e3f788) at
Reader.cpp:1923
#10 0x0815b3c2 in llvm::BytecodeReader::ParseBytecode (this=0x9e3f788,
Buf=0x9e3f910 "llvm\001", Length=178, ModuleID=@0xbff89814,
Decompressor=0x820a54e <llvm::Compressor::decompressToNewBuffer(char const*,
unsigned int, char*&, std::string*)>, ErrMsg=0xbff89918)
at Reader.cpp:2078
#11 0x0814d5a6 in (anonymous namespace)::BytecodeStdinReader::read
(this=0x9e3f788, ErrMsg=0xbff89918) at ReaderWrappers.cpp:185
#12 0x0814d6ce in llvm::getBytecodeModuleProvider (Filename=@0x82554fc,
BCDC=0x820a54e <llvm::Compressor::decompressToNewBuffer(char const*,
unsigned int, char*&, std::string*)>, ErrMsg=0xbff89918, H=0x0)
at ReaderWrappers.cpp:241
#13 0x0814d711 in llvm::ParseBytecodeFile (Filename=@0x82554fc,
BCDC=0x820a54e <llvm::Compressor::decompressToNewBuffer(char const*,
unsigned int, char*&, std::string*)>, ErrMsg=0xbff89918)
at ReaderWrappers.cpp:251
#14 0x0814a9e5 in main (argc=1, argv=0xbff89c14) at llvm-dis.cpp:57
The text was updated successfully, but these errors were encountered: