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

Koakuma via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 8 20:43:35 PDT 2022


koakuma added inline comments.


================
Comment at: llvm/lib/Target/Sparc/SparcISelLowering.cpp:1867
+  if (Subtarget->isV9())
+    setHasMultipleConditionRegisters();
+
----------------
arsenm wrote:
> Should add an optimization test for this. There are handful of DAG combines and I think codegenprepare also makes use of this
Would rerunning the tests in `2011-01-11-CC.ll` with optimization enabled be enough for this, or do I need to add other tests too?


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