HomePhabricator

[SelectionDAG] Fix lowering of vector geps

Authored by jroelofs on Jul 29 2020, 12:14 PM.

Description

[SelectionDAG] Fix lowering of vector geps

This fixes an assertion failure that was being triggered in
SelectionDAG::getZeroExtendInReg(), where it was trying to extend the <2xi32>
to i64 (which should have been <2xi64>).

Fixes: rdar://66016901

Differential Revision: https://reviews.llvm.org/D84884

Details