[PATCH] D40957: [X86] Fix crash caused by not properly marking visited registers in Domain Reassignment pass

Guy Blank via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 7 07:50:41 PST 2017


guyblank created this revision.

The registers added to closures were not marked as such, causing registers to be in multiple closures. 
In some cases (like the added test) this caused an assertion to fail.


https://reviews.llvm.org/D40957

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40957.125958.patch
Type: text/x-patch
Size: 3731 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171207/6d7ca8ee/attachment.bin>


More information about the llvm-commits mailing list