[llvm] AMDGPU/GlobalISel: Disable LCSSA pass (PR #124297)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 24 09:30:08 PST 2025
================
@@ -312,6 +312,12 @@ bool AMDGPURegBankLegalize::runOnMachineFunction(MachineFunction &MF) {
}
// Opcodes that also support S1.
+ if (Opc == G_FREEZE &&
+ MRI.getType(MI->getOperand(0).getReg()) != LLT::scalar(1)) {
+ RBLHelper.applyMappingTrivial(*MI);
+ continue;
+ }
+
----------------
arsenm wrote:
Unrelated to LCSSA change
https://github.com/llvm/llvm-project/pull/124297
More information about the llvm-commits
mailing list