Skip to content

v1i8 = fp_to_sint gets assertion failure #3043

@llvmbot

Description

@llvmbot
Bugzilla Link 2671
Resolution FIXED
Resolved on Aug 14, 2008 15:15
Version trunk
OS Linux
Attachments llvm ir file which reproduces the problem
Reporter LLVM Bugzilla Contributor
CC @sunfishcode

Extended Description

-Mcpu=core2

The attached program gets the assertion failure

0x8268514: v1i8 = fp_to_sint 0x826815c
conversions: LegalizeDAG.cpp:6927: llvm::SDValue::SelectionDAGLegalize::ScalarizeVectorOp(llvm::SDValue): Assertion `0 && "Unknown vector operation in ScalarizeVectorOp!"' failed.

This also happens if fptosi is changed to fptoui.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions