[PowerPC] Fix the bug of ISD::ADDE to set its second return type to glue
authorKang Zhang <shkzhang@cn.ibm.com>
Tue, 25 Dec 2018 03:29:51 +0000 (03:29 +0000)
committerKang Zhang <shkzhang@cn.ibm.com>
Tue, 25 Dec 2018 03:29:51 +0000 (03:29 +0000)
commitd501a1e59676c827bfcd723c3811a864500b536f
tree0c62790f2137a7dfe7dfb229fa3112322c23b350
parent495b9e0eb7b14283c669dd031433298320a5418d
[PowerPC] Fix the bug of ISD::ADDE to set its second return type to glue

Summary:
This patch is to fix the bug imported by rL341634.
In above submit , the the return type of ISD::ADDE is
14224: SDVTList VTs = DAG.getVTList(MVT::i64, MVT::i64),
but in fact, the second return type of ISD::ADDE should be
MVT::Glue not MVT::i64.

Reviewed By: hfinkel

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

llvm-svn: 350061
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/test/CodeGen/PowerPC/adde_return_type.ll [new file with mode: 0644]