[PATCH] D42244: [globalisel] Introduce LegalityQuery to better encapsulate the legalizer decisions. NFC.

Daniel Sanders via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 22 11:08:40 PST 2018


dsanders updated this revision to Diff 130929.
dsanders marked 2 inline comments as done.
dsanders added a comment.

Change tuple to a struct
Update unit tests
Add comment explaining that LegalityQuery does not take a copy of the types array.


https://reviews.llvm.org/D42244

Files:
  include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
  include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
  lib/CodeGen/GlobalISel/LegalizerHelper.cpp
  lib/CodeGen/GlobalISel/LegalizerInfo.cpp
  unittests/CodeGen/GlobalISel/LegalizerInfoTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42244.130929.patch
Type: text/x-patch
Size: 20138 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180122/f2341b7a/attachment.bin>


More information about the llvm-commits mailing list