[PATCH] D135515: [SPARC] Don't emit deprecated FP branches when targeting v9

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 8 09:18:11 PDT 2022


arsenm added inline comments.


================
Comment at: llvm/lib/Target/Sparc/SparcISelLowering.cpp:1867
+  if (Subtarget->isV9())
+    setHasMultipleConditionRegisters();
+
----------------
Should add an optimization test for this. There are handful of DAG combines and I think codegenprepare also makes use of this


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135515/new/

https://reviews.llvm.org/D135515



More information about the llvm-commits mailing list