llvm
df6e3809 - [AArch64] Minor simplification in aarch64-ldst-opt with an early return (#207182)

Commit
2 days ago
[AArch64] Minor simplification in aarch64-ldst-opt with an early return (#207182) Remove the local `MBBIWithRenameReg` by moving an early return at an even earlier point. When `MBBIWithRenameReg` is set we always return early. By moving the early return to `MBBIWithRenameReg` update we get rid of a local variable which spans 200+ lines. This also fixes a misleading debug print between `MBBIWithRenameReg` update and early return: ``` LLVM_DEBUG(dbgs() << "Unable to combine these instructions due to " << "interference in between, keep looking.\n"); ``` This line shouldn't be printed when we set `MBBIWithRenameReg`, which is fixed with this change.
Author
Parents
Loading