[llvm] [X86][GlobalISel] - Legalize And Select of G_FPTOSI/G_SITOFP in X87 mode (PR #137377)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue May 27 06:45:31 PDT 2025


================
@@ -926,6 +926,16 @@ class LegalizeRuleSet {
                                      Types2);
   }
 
+  /// The instruction is custom when the predicate is true and type indexes 0
+  /// and 1 are all in their respective lists.
+  LegalizeRuleSet &
+  customForCartesianProduct(bool Pred, std::initializer_list<LLT> Types0,
----------------
arsenm wrote:

Eventually probably should have both, can add as needed 

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


More information about the llvm-commits mailing list