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
verifier doesn't reject store of an aggregate #1198
Comments
assigned to @lattner |
Here's the stack trace: |
This looks to be a verifier bug in that invalid input was not caught before code |
Fixed. Patch here: Testcase here: Thanks! -Chris |
Extended Description
The following test case produces this assertion failure:
llc: /proj/llvm/build/../llvm/include/llvm/Target/TargetLowering.h:257:
llvm::MVT::ValueType llvm::TargetLowering::getValueType(const llvm::Type*)
const: Assertion `0 && "Unknown type!"' failed.
; ModuleID = 'bugpoint-reduced-simplified.bc'
target endian = little
target pointersize = 32
target triple = "i686-pc-linux-gnu"
%struct_4 = type { int, long, sbyte* }
implementation ; Functions:
void %func_37(int, ...) {
entry:
store %struct_4 zeroinitializer, %struct_4* null
unreachable
}
The text was updated successfully, but these errors were encountered: