This is an archive of the discontinued LLVM Phabricator instance.

[GlobalIsel][x86] Legalize G_AND, G_OR, and G_XOR for AVX2
ClosedPublic

Authored by tschuett on May 16 2023, 3:42 AM.

Details

Summary

check plan: ninja check-llvm-codegen-x86

Diff Detail

Event Timeline

tschuett created this revision.May 16 2023, 3:42 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 16 2023, 3:42 AM
tschuett requested review of this revision.May 16 2023, 3:42 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 16 2023, 3:42 AM
arsenm accepted this revision.May 16 2023, 4:20 AM

LGTM with nit

If you're picking up x86 legality rules I think step 1 is to remove all this legacy rule stuff

llvm/test/CodeGen/X86/GlobalISel/legalize-and-or-xor.mir
120

Formatting is consistently off, missing space before x

131–137

Can drop all this stuff

This revision is now accepted and ready to land.May 16 2023, 4:20 AM
tschuett updated this revision to Diff 522559.May 16 2023, 5:37 AM

address review comments

This revision was landed with ongoing or failed builds.May 16 2023, 5:40 AM
This revision was automatically updated to reflect the committed changes.