Skip to content

Fix consistency of FP operators: add -> fadd, etc #1657

@lattner

Description

@lattner
Bugzilla Link 1285
Resolution FIXED
Resolved on Jun 12, 2009 14:39
Version trunk
OS All
CC @efriedma-quic,@sunfishcode

Extended Description

As part of the signless types work, some FP operators were split out from the integer counterparts.
Because of this, we have fdiv/frem/fcmp, but some FP ops are still overloaded with integer ones (add/sub/
mul).

We should introduce explicit fadd/fsub/fmul operations, as well as a new unary fneg operator. This will
be important going forward, because we want to add flags to the various fp operations to support
"fastmath" and more FP pedantic languages.

-Chris

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions