| Index: src/IceCfgNode.cpp
|
| diff --git a/src/IceCfgNode.cpp b/src/IceCfgNode.cpp
|
| index 57aba6b29ee9e14fb7abe9054ada7c7202c68f0d..ba61363e78716f21ae783b71ffc97572feeb0d97 100644
|
| --- a/src/IceCfgNode.cpp
|
| +++ b/src/IceCfgNode.cpp
|
| @@ -495,7 +495,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()) {
|
|
|