diff --git a/src/maple_be/src/cg/cfgo.cpp b/src/maple_be/src/cg/cfgo.cpp index 91c1ea81db93678eb2476af240d14e5bcc57059c..d59e6074ead5be76f4616fd60437740fee498525 100644 --- a/src/maple_be/src/cg/cfgo.cpp +++ b/src/maple_be/src/cg/cfgo.cpp @@ -672,7 +672,7 @@ bool DuplicateBBPattern::Optimize(BB &curBB) { #if TARGARM32 FOR_BB_INSNS(insn, (&curBB)) { - if (insn->IsPCLoad()) { + if (insn->IsPCLoad() || insn->IsClinit()) { return false; } }