Skip to content

SelectionDAGISel doesn't handle illegal vectors of illegal types right #1504

@llvmbot

Description

@llvmbot
Bugzilla Link 1132
Resolution FIXED
Resolved on May 05, 2008 11:34
Version trunk
OS All
Reporter LLVM Bugzilla Contributor
CC @lattner,@isanbard,@sunfishcode,@nlewycky

Extended Description

NODE: 0x120b12b80: i16 = Register #​1024
llc: LegalizeDAG.cpp:3089:
llvm::SDOperand::SelectionDAGLegalize::PromoteOp(llvm::SDOperand):
Assertion `0 && "Do not know how to promote this operator!"' failed.

For

; ModuleID = 'bugpoint-reduced-simplified.bc'
target datalayout = "e-p:64:64"
target endian = little
target pointersize = 64
target triple = "alphaev6-unknown-linux-gnu"

implementation ; Functions:

define void %main() {
entry:
br label %bb

bb: ; preds = %bb, %entry
br i1 false, label %bb26, label %bb

bb19: ; preds = %bb26
ret void

bb26: ; preds = %bb
br i1 false, label %bb30, label %bb19

bb30: ; preds = %bb26
br label %bb45

bb45: ; preds = %bb45, %bb30
%V.0 = phi <8 x i16> [ %tmp42, %bb45 ], [ zeroinitializer, %bb30 ]
; <<8 x i16>> [#uses=1]
%tmp42 = mul <8 x i16> zeroinitializer, %V.0 ; <<8 x i16>>
[#uses=1]
br label %bb45
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillacompile-failUse [accepts-invalid] and [rejects-valid] insteadllvm:codegen

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions