This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Refactor MIMG instruction TableGen using generic tables
ClosedPublic

Authored by nhaehnle on Jun 11 2018, 5:48 AM.

Details

Summary

This allows us to access rich information about MIMG opcodes from C++ code.
Simplifying the mapping between equivalent opcodes of different data size
becomes quite natural.

This also flattens the MIMG-related class and multiclass hierarchy a little,
and collapses together some of the scaffolding for sample and gather4 opcodes.

Change-Id: I1a2549fdc1e881ff100e5393d2d87e73729a0ccd

Diff Detail

Repository
rL LLVM