Skip to content

Fail to propagate assume to its negation #30119

@llvmbot

Description

@llvmbot
Bugzilla Link 30771
Version trunk
OS Linux
Blocks #30343
Attachments testcase
Reporter LLVM Bugzilla Contributor
CC @Bigcheese,@hfinkel,@RKSimon,@nikic,@rotateright

Extended Description

opt -O3 doesn't simplify this test.

If the two icmps are changed to use the same predicate (eq or ne), the function is simplified to return a constant.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaipaInterprocedural analysisllvm:GVNGVN and NewGVN stages (Global value numbering)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions