| Index: src/IceCfgNode.cpp
|
| diff --git a/src/IceCfgNode.cpp b/src/IceCfgNode.cpp
|
| index 32775643c7a75873de10284f95debd9f7ab4a777..eff4e973288c6a04b98356a5cb5639584f50b697 100644
|
| --- a/src/IceCfgNode.cpp
|
| +++ b/src/IceCfgNode.cpp
|
| @@ -492,7 +492,11 @@ void CfgNode::emit(Cfg *Func) const {
|
| // suppress them.
|
| if (Inst->isRedundantAssign())
|
| continue;
|
| - (*I)->emit(Func);
|
| + if (Func->UseIntegratedAssembler()) {
|
| + (*I)->emitIAS(Func);
|
| + } else {
|
| + (*I)->emit(Func);
|
| + }
|
| // Update emitted instruction count, plus fill/spill count for
|
| // Variable operands without a physical register.
|
| if (uint32_t Count = (*I)->getEmitInstCount()) {
|
|
|