forked from OSchip/llvm-project
parent
b418aafabf
commit
e9e3891c09
|
@ -3311,7 +3311,7 @@ void SelectionDAGLowering::visitCall(CallInst &I) {
|
|||
|
||||
|
||||
void SelectionDAGLowering::visitGetResult(GetResultInst &I) {
|
||||
if (UndefValue *UV = dyn_cast<UndefValue>(I.getOperand(0))) {
|
||||
if (isa<UndefValue>(I.getOperand(0))) {
|
||||
SDOperand Undef = DAG.getNode(ISD::UNDEF, TLI.getValueType(I.getType()));
|
||||
setValue(&I, Undef);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue