This is an archive of the discontinued LLVM Phabricator instance.

[mlir][complex] Canonicalize complex.sub zero
ClosedPublic

Authored by Lewuathe on Nov 6 2022, 7:36 PM.

Details

Summary

Subtracting zero constant can be fold in no complex.sub operation.

Diff Detail

Event Timeline

Lewuathe created this revision.Nov 6 2022, 7:36 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 6 2022, 7:36 PM
Lewuathe requested review of this revision.Nov 6 2022, 7:36 PM
pifon2a accepted this revision.Nov 9 2022, 1:55 AM
This revision is now accepted and ready to land.Nov 9 2022, 1:55 AM
This revision was automatically updated to reflect the committed changes.