Skip to content

API: isAllOnesValue and getAllOnesValue are not defined for all types #11089

@llvmbot

Description

@llvmbot
Bugzilla Link 10717
Resolution FIXED
Resolved on Aug 24, 2011 23:44
Version trunk
OS Windows NT
Reporter LLVM Bugzilla Contributor

Extended Description

We can't use the following API because it is not implemented for all types:

if (C->isAllOnesValue())
return Constant::getAllOnesValue(DestTy);

I plan to implement this at some point.

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