[llvm] Add support for x87 registers on GISel register selection (PR #83528)

via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 1 01:31:02 PST 2024


================
@@ -234,7 +250,7 @@ X86RegisterBankInfo::getInstrMapping(const MachineInstr &MI) const {
     (void)Size;
     assert((Size == 32 || Size == 64) && "Unsupported size for G_FCMP");
 
-    auto FpRegBank = getPartialMappingIdx(Ty1, /* isFP */ true);
+    auto FpRegBank = getPartialMappingIdx(MI, Ty1, /* isFP */ true);
----------------
MalaySanghiIntel wrote:

Are you asking me to add a "=" after isFP or was this a mistake?

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


More information about the llvm-commits mailing list