[llvm-branch-commits] [llvm] [WebAssembly][GlobalISel] Implement floating-point comparisons (PR #197258)
Matt Arsenault via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu May 14 04:05:04 PDT 2026
================
@@ -168,6 +190,292 @@ bool WebAssemblyLegalizerInfo::legalizeCustom(
return Helper.lower(MI, 0, DstType) != LegalizerHelper::UnableToLegalize;
}
+ case TargetOpcode::G_FCMP: {
----------------
arsenm wrote:
Yes. Unless the action is introducing target specific opcodes, it belongs in the generic legalizerhelper
https://github.com/llvm/llvm-project/pull/197258
More information about the llvm-branch-commits
mailing list