This patch is to fix the bug imported by rL341634: https://reviews.llvm.org/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.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Also, if there's a way to have a non-asserts-required test case, that would be useful. How did you notice the problem?
Comment Actions
@hfinkel , I notice the bug of second return type for the ISD::ADDE when I am working on another issue about ISD::ADDE, whose code has not been submitted.
I think it's hard to find another no-asserts case, because there are few conditions the bug will be triggered.