[PATCH] D65756: [GlobalISel] Teach GlobalISelEmitter to treat used iPTRAny operands as pointer operands

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 5 09:48:49 PDT 2019


paquette created this revision.
paquette added a reviewer: dsanders.
Herald added subscribers: Petar.Avramovic, rovka.
Herald added a project: LLVM.

Overloaded intrinsics can use iPTRAny in used/input operands. The GlobalISelEmitter doesn't know that these are pointers, so it treats them as scalars. As a result, these intrinsics can't be imported.

This teaches the GlobalISelEmitter to recognize these as pointers rather than scalars.


https://reviews.llvm.org/D65756

Files:
  llvm/test/TableGen/GlobalISelEmitterOverloadedPtr.td
  llvm/utils/TableGen/GlobalISelEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65756.213386.patch
Type: text/x-patch
Size: 5147 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190805/0fd964e5/attachment.bin>


More information about the llvm-commits mailing list