[llvm] Added InvertedFPClassTest in legalizerHelper (PR #133403)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 30 03:34:23 PDT 2025
================
@@ -9102,7 +9104,40 @@ LegalizerHelper::lowerISFPCLASS(MachineInstr &MI) {
}
// TODO: Try inverting the test with getInvertedFPClassTest like the DAG
- // version
+ auto GetInvertedFPClassTest =
+ [](const llvm::FPClassTest Test) -> llvm::FPClassTest {
----------------
arsenm wrote:
https://github.com/llvm/llvm-project/blob/faefb70c7a771ae646df3d5defe122cfff2aac7c/llvm/include/llvm/CodeGen/CodeGenCommonISel.h#L228
https://github.com/llvm/llvm-project/pull/133403
More information about the llvm-commits
mailing list