This is an archive of the discontinued LLVM Phabricator instance.

[mlir] UnsignedWhenEquivalent ignore dead code
ClosedPublic

Authored by Mogball on Dec 5 2022, 8:03 PM.

Details

Summary

The pass was not checking for uninitialized states due to dead code.
This patch also makes LLVMFuncOp correctly return a null body when it is
external.

Fixes #58807

Depends on D139388

Diff Detail

Event Timeline

Mogball created this revision.Dec 5 2022, 8:03 PM
Herald added a project: Restricted Project. · View Herald Transcript
Mogball requested review of this revision.Dec 5 2022, 8:03 PM
rriddle accepted this revision.Dec 5 2022, 8:04 PM
This revision is now accepted and ready to land.Dec 5 2022, 8:04 PM
This revision was landed with ongoing or failed builds.Dec 5 2022, 8:38 PM
This revision was automatically updated to reflect the committed changes.