This reverts the revert commit073c27b5e5. A reduced test case has been added in5e4966cbaeand the code has been updated to handle the case where getInductionOpcode returns BinaryOpsEnd. In this case, the original code was always using Instruction::Add. Do the same in the patch. Note this commit may slightly change the value naming, because it now also assigns the 'induction' name in the floating point case.
125 KiB
125 KiB