================ @@ -935,7 +935,7 @@ bool AArch64ConditionalCompares::runOnMachineFunction(MachineFunction &MF) { SchedModel = MF.getSubtarget().getSchedModel(); MRI = &MF.getRegInfo(); DomTree = &getAnalysis<MachineDominatorTree>(); - Loops = getAnalysisIfAvailable<MachineLoopInfo>(); + Loops = &getAnalysis<MachineLoopInfo>(); ---------------- jayfoad wrote:
Everything seems to work if I change `AArch64ConditionalCompares` to not require `MachineLoopInfo`. But I think I'll leave it to the AArch64 maintainers like you suggest. https://github.com/llvm/llvm-project/pull/65729 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits