[llvm] [AArch64][GlobalISel] Improve fixed-point int-to-fp selection (PR #224055)

David Green via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 23 03:26:40 PDT 2026


================
@@ -145,6 +145,16 @@ class AArch64RegisterBankInfo final : public AArch64GenRegisterBankInfo {
   bool prefersFPUse(const MachineInstr &MI, const MachineRegisterInfo &MRI,
                     const AArch64RegisterInfo &TRI, unsigned Depth = 0) const;
 
+  enum class CvtBankedOperand { Def, Src };
----------------
davemgreen wrote:

I'm not sure if this is worth adding the enum for. We would usually just use 0/1.

https://github.com/llvm/llvm-project/pull/224055


More information about the llvm-commits mailing list