HomePhabricator

Fixed a bug in type legalizer for masked gather. The problem occurs when the…

Authored by igorb on Aug 29 2016, 2:12 AM.

Description

Fixed a bug in type legalizer for masked gather. 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).

Differential Revision: http://reviews.llvm.org/D23756

llvm-svn: 279961