[PATCH] D37457: [globalisel][tablegen] Implement unindexed load, non-extending load, and MemVT checks

Daniel Sanders via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 5 01:42:43 PDT 2017


dsanders created this revision.
Herald added subscribers: igorb, javed.absar, kristof.beyls.

This includes some context-sensitivity in the MVT to LLT conversion so that
pointer types are tested correctly.
FIXME: I'm not happy with the way this is done since everything is a

  special-case. I've yet to find a reasonable way to implement it.

select-load.mir fails because <1 x s64> loads in tablegen get priority over s64
loads. This is fixed in the next patch and as such they should be committed
together, I've posted them separately to help with the review.

Depends on https://reviews.llvm.org/D37456


https://reviews.llvm.org/D37457

Files:
  include/llvm/CodeGen/GlobalISel/InstructionSelector.h
  include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
  test/CodeGen/AArch64/GlobalISel/select-load.mir
  utils/TableGen/GlobalISelEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37457.113810.patch
Type: text/x-patch
Size: 11628 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170905/413034b3/attachment-0001.bin>


More information about the llvm-commits mailing list