Add NOP to ARM IR lowering.
This change allows pnacl-sz to randomly insert NOPs into the generated
code, as is already done with X86.
BUG=None
R=eholk@chromium.org, stichnot@chromium.org
Review URL: https://codereview.chromium.org/1670413002 .
diff --git a/src/IceTargetLoweringARM32.h b/src/IceTargetLoweringARM32.h
index b35649c..97a944c 100644
--- a/src/IceTargetLoweringARM32.h
+++ b/src/IceTargetLoweringARM32.h
@@ -418,6 +418,8 @@
}
}
+ void _nop() { Context.insert<InstARM32Nop>(); }
+
// Generates a vmov instruction to extract the given index from a vector
// register.
void _extractelement(Variable *Dest, Variable *Src0, uint32_t Index,