Skip to content

[DirectX] Move FNeg legalization to the DXILLegalization pass #137685

@bogner

Description

@bogner

Currently DXILPrepare legalizes the FNeg instruction into an FSub. This isn't the right place for that and we should move it to DXILLegalization instead.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Active

Milestone

No milestone

Development

No branches or pull requests

    Participants

    @bogner@EugeneZelenko@sumitsays@llvmbot

    Issue actions

      [DirectX] Move FNeg legalization to the DXILLegalization pass · Issue #137685 · llvm/llvm-project