[llvm] [X86][GlobalIsel] support G_FABS for f80 (PR #136718)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu May 1 06:28:21 PDT 2025


================
@@ -466,6 +466,8 @@ X86LegalizerInfo::X86LegalizerInfo(const X86Subtarget &STI,
                (UseX87 && typeInSet(0, {s80})(Query));
       });
 
+  getActionDefinitionsBuilder(G_FABS).legalFor(UseX87, {s8, s80}).lower();
----------------
arsenm wrote:

There is only one type index, and s8 is not a valid floating point type 

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


More information about the llvm-commits mailing list