[PATCH] D130006: [SPARC] Improve integer branch handling for v9 targets

Koakuma via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 18 06:29:00 PDT 2022


koakuma added inline comments.


================
Comment at: llvm/lib/Target/Sparc/SparcInstrInfo.td:863-864
+  let Predicates = [HasV9] in
+    def BPA : BranchPredictAlways<(ins bprtarget:$imm19),
+      "ba %icc, $imm19", [(br bb:$imm19)]>;
 
----------------
Is this enough, or do I also need to create custom lowering like `LowerBR_CC`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130006



More information about the llvm-commits mailing list