Index: src/IceCfg.cpp |
diff --git a/src/IceCfg.cpp b/src/IceCfg.cpp |
index 330f6382e6bdbaf998fc72ec46dc5f33e7daaaa9..4259b27bcb9f7c8730cd9a3517eab1a27b58c9e1 100644 |
--- a/src/IceCfg.cpp |
+++ b/src/IceCfg.cpp |
@@ -184,11 +184,6 @@ void Cfg::translate() { |
} |
TimerMarker T(TimerStack::TT_translate, this); |
- // Create the Hi and Lo variables where a split was needed |
- for (Variable *Var : Variables) |
- if (auto Var64On32 = llvm::dyn_cast<Variable64On32>(Var)) |
- Var64On32->initHiLo(this); |
- |
dump("Initial CFG"); |
if (getContext()->getFlags().getEnableBlockProfile()) { |
@@ -201,6 +196,11 @@ void Cfg::translate() { |
dump("Profiled CFG"); |
} |
+ // Create the Hi and Lo variables where a split was needed |
+ for (Variable *Var : Variables) |
+ if (auto Var64On32 = llvm::dyn_cast<Variable64On32>(Var)) |
+ Var64On32->initHiLo(this); |
+ |
// The set of translation passes and their order are determined by the |
// target. |
getTarget()->translate(); |