Index: src/IceInst.cpp |
diff --git a/src/IceInst.cpp b/src/IceInst.cpp |
index d9b91f038b373d284a5eece37ce88c1ad4d91b5a..656ac172f412fb179dc65e5a090a7840418b9d5b 100644 |
--- a/src/IceInst.cpp |
+++ b/src/IceInst.cpp |
@@ -385,6 +385,8 @@ Inst *InstPhi::lower(Cfg *Func) { |
Variable *NewSrc = Func->makeVariable(Dest->getType()); |
if (BuildDefs::dump()) |
NewSrc->setName(Func, Dest->getName(Func) + "_phi"); |
+ if (auto *NewSrc64On32 = llvm::dyn_cast<Variable64On32>(NewSrc)) |
+ NewSrc64On32->initHiLo(Func); |
this->Dest = NewSrc; |
return InstAssign::create(Func, Dest, NewSrc); |
} |