[SDAG] Fix zeroExtend assertion error

Description

[SDAG] Fix zeroExtend assertion error

Move CombineTo preventing deleted node from being returned in
visitZERO_EXTEND.

Fixes PR32284.

Reviewers: RKSimon, bogner

Reviewed By: RKSimon

Subscribers: llvm-commits

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

Details

Committed
niravdMar 23 2017, 8:01 AM
Reviewer
RKSimon
Differential Revision
D31254: [SDAG] Fix zeroExtend assertion error
Parents
rL298603: Do not polute the source directory.
Branches
Unknown
Tags
Unknown