[PATCH] D55914: [GlobalISel][InstructionSelect] Add support for selecting pointer types with TableGen
Tom Stellard via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 18 18:56:52 PST 2019
tstellar added a comment.
In D55914#1364175 <https://reviews.llvm.org/D55914#1364175>, @arsenm wrote:
> Would it be difficult to add ptr types in tablegen's version of MVT, which the table gen backend converts as appropriate?
I've looked at this, but it was more difficult than I thought, because the GlobalISelEmitter reuses the normal ISel pattern parsing and types are stored internally as MVT. One possibility might be to have the GlobalISelEmitter pre-process the patterns and replace pointer types with regular integers, but that's no too different from what this patch does.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55914/new/
https://reviews.llvm.org/D55914
More information about the llvm-commits
mailing list