Skip to content

clang doesn't know how to generate code for constant remainder (%) ops #3451

@llvmbot

Description

@llvmbot
Bugzilla Link 3079
Resolution FIXED
Resolved on Nov 22, 2008 13:18
Version unspecified
OS Linux
Attachments Proposed patch.
Reporter LLVM Bugzilla Contributor

Extended Description

There's an oversight in clang's CodeGen module in which constant * and / operations are handled, but % (remainder/mod) isn't. The attached patch fixes this bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions