[llvm] Added InvertedFPClassTest in legalizerHelper (PR #133403)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 30 03:35:10 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:

Yes, do not touch unrelated lines. Your editor should not be blindly running clang-format or whatever, only use git clang-format 

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


More information about the llvm-commits mailing list