This is an archive of the discontinued LLVM Phabricator instance.

[GlobalISel] Don't combine instructions with unknown type in hoist_logic_op_with_same_opcode_hands.
ClosedPublic

Authored by dzhidzhoev on Jan 27 2023, 4:40 PM.

Diff Detail

Event Timeline

dzhidzhoev created this revision.Jan 27 2023, 4:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 27 2023, 4:40 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
dzhidzhoev requested review of this revision.Jan 27 2023, 4:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 27 2023, 4:40 PM
paquette added inline comments.Jan 27 2023, 4:52 PM
llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
2753

Do you need to check for validity for both XTy and YTy?

Addressed @paquette comment.

This revision is now accepted and ready to land.Jan 30 2023, 10:07 AM