Page MenuHomePhabricator

Fixed a bug in type legalizer for masked gather.
ClosedPublic

Authored by igorb on Aug 21 2016, 2:44 AM.

Details

Summary

Fixed a bug in type legalizer for masked gather.
https://llvm.org/bugs/show_bug.cgi?id=28312
The problem occurs when the Node doesn't updated in place , UpdateNodeOperation() return the node that already exist.
In this case assert fail in PromoteIntegerOperand() , N have 2 results ( val + chain).

Diff Detail

Event Timeline

igorb updated this revision to Diff 68807.Aug 21 2016, 2:44 AM
igorb retitled this revision from to Fixed a bug in type legalizer for masked gather..
igorb updated this object.
igorb added a reviewer: delena.
igorb set the repository for this revision to rL LLVM.
igorb added a subscriber: llvm-commits.
igorb updated this revision to Diff 69537.Aug 29 2016, 1:14 AM

Move test to existing file.

delena accepted this revision.Aug 29 2016, 1:15 AM
delena edited edge metadata.
This revision is now accepted and ready to land.Aug 29 2016, 1:15 AM
This revision was automatically updated to reflect the committed changes.