GlobalISel: Don't assert on operations with no type indices
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 25 Jul 2020 14:27:16 +0000 (10:27 -0400)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 28 Jul 2020 20:49:55 +0000 (16:49 -0400)
commite87356b4981bb0b504c106fd70fbde31e84447e6
tree72ff427873e471205c7ce9d21b93124fc3fd798a
parent5174e7b443d815df6707addbd4fe172418d6f4a2
GlobalISel: Don't assert on operations with no type indices

Fix not marking G_FENCE as legal on AMDGPU This was apparently
defaulting to legal using the "legacy" rules, whatever those are.
llvm/lib/CodeGen/GlobalISel/LegalizerInfo.cpp
llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp