This is an archive of the discontinued LLVM Phabricator instance.

[SystemZ] Fix argument type of tdc instruction.
ClosedPublic

Authored by Kai on May 9 2022, 7:00 AM.

Details

Summary

The DAG node for the Test Data Class is defined using i64 as the second parameter.
However, the code to lower is_fpclass uses i32 as type. This only works because no
type check is generated in the DAG matcher.
This PR changes the type of the mask constant to i64.

Diff Detail

Event Timeline

Kai created this revision.May 9 2022, 7:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 9 2022, 7:00 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
Kai requested review of this revision.May 9 2022, 7:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 9 2022, 7:00 AM
uweigand accepted this revision.May 9 2022, 8:03 AM

LGTM, thanks!

This revision is now accepted and ready to land.May 9 2022, 8:03 AM
This revision was landed with ongoing or failed builds.May 9 2022, 10:14 AM
This revision was automatically updated to reflect the committed changes.