[PATCH] D72288: GlobalISel: Fix unsupported legalize action

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 6 09:56:50 PST 2020


arsenm created this revision.
arsenm added reviewers: dsanders, paquette, aditya_nandakumar, aemerson.
Herald added subscribers: Petar.Avramovic, hiraditya, tpr, rovka, nhaehnle, wdng, jvesely.
Herald added a project: LLVM.

This would complain about invalid legalizer rules otherwise.

      

Mark some operations as unsupported for AMDGPU. This currently seems
to produce the same legalize error as when no rules are defined, but
eventually this should produce a proper user facing error.


https://reviews.llvm.org/D72288

Files:
  llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
  llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-jump-table.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72288.236401.patch
Type: text/x-patch
Size: 3964 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200106/7de923e8/attachment.bin>


More information about the llvm-commits mailing list