[PATCH] D40290: [X86] Fix a bug in handling GRXX subclasses in Domain Reassignment pass

Guy Blank via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 21 02:12:29 PST 2017


guyblank created this revision.

When choosing the mask register class to convert to, only "regular" GPR classes were handled (GR8, GR16, GR32, GR64),
The patch adds handling for their subclasses as well.
Added a 32 bit RUN line to the test, so classes like GR8_ABCD and such will be used. This would fail with an assertion without the patch.


https://reviews.llvm.org/D40290

Files:
  lib/Target/X86/X86DomainReassignment.cpp
  test/CodeGen/X86/gpr-to-mask.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40290.123743.patch
Type: text/x-patch
Size: 22024 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171121/7872634f/attachment.bin>


More information about the llvm-commits mailing list