Skip to content
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

Crash in InstCombine #1437

Closed
asl opened this issue Dec 23, 2006 · 1 comment
Closed

Crash in InstCombine #1437

asl opened this issue Dec 23, 2006 · 1 comment
Labels
bugzilla Issues migrated from bugzilla compile-fail Use [accepts-invalid] and [rejects-valid] instead

Comments

@asl
Copy link
Collaborator

asl commented Dec 23, 2006

Bugzilla Link 1065
Resolution FIXED
Resolved on Nov 07, 2018 00:17
Version trunk
OS All
Attachments Failed bytecode

Extended Description

This is the reduction from libmng & Qt.

Everythign was ok some weeks ago. I've tried to rebuild Qt after SETCC-removal
patch landed.

Steps to reproduce:

~/proj/llvm/build/Release/bin $ ./opt bugpoint-reduced-simplified.bc -instcombine -f
opt: /home/asl/proj/llvm/src/include/llvm/Support/Casting.h:199: typename
llvm::cast_retty<To, From>::ret_type llvm::cast(const Y&) [with X =
llvm::ShiftInst, Y = llvm::Instruction*]: Assertion `isa(Val) && "cast()
argument of incompatible type!"' failed.
./opt((anonymous namespace)::PrintStackTrace()+0x1f)[0x836a96f]
/lib/libc.so.6(abort+0xeb)[0xb7d96133]
/lib/libc.so.6(__assert_fail+0xeb)[0xb7d8e4f3]
./opt((anonymous namespace)::InstCombiner::FoldSelectOpOp(llvm::SelectInst&,
llvm::Instruction*, llvm::Instruction*)+0x963)[0x81843a3]

Bytecode attached.

@llvmbot
Copy link
Collaborator

llvmbot commented Dec 23, 2006

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla compile-fail Use [accepts-invalid] and [rejects-valid] instead
Projects
None yet
Development

No branches or pull requests

2 participants