[llvm] [GlobalISel][AArch64] Add G_FPTOSI_SAT/G_FPTOUI_SAT (PR #96297)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 22 10:10:34 PDT 2024
================
@@ -2130,6 +2130,12 @@ bool AArch64InstructionSelector::preISelLower(MachineInstr &I) {
}
return false;
}
+ case TargetOpcode::G_FPTOSI_SAT:
+ I.setDesc(TII.get(TargetOpcode::G_FPTOSI));
----------------
arsenm wrote:
I would hope this would have been a trivial selection pattern?
https://github.com/llvm/llvm-project/pull/96297
More information about the llvm-commits
mailing list