if (OptLevel != CodeGenOpt::None && !Subtarget.isThumb1Only())
PM.add(createARMLoadStoreOptimizationPass(true));
- if (OptLevel != CodeGenOpt::None && Subtarget.isThumb2() &&
- EarlyITBlockFormation)
+ if (Subtarget.isThumb2() && EarlyITBlockFormation)
PM.add(createThumb2ITBlockPass(true));
return true;
}
if (OptLevel != CodeGenOpt::None) {
if (!Subtarget.isThumb1Only())
PM.add(createIfConverterPass());
- if (Subtarget.isThumb2())
- PM.add(createThumb2ITBlockPass());
}
+ if (Subtarget.isThumb2())
+ PM.add(createThumb2ITBlockPass());
return true;
}