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

Koakuma via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 4 21:07:10 PDT 2022


koakuma updated this revision to Diff 473396.
koakuma edited the summary of this revision.
koakuma added a comment.

Simplify the implementation; in particular, do not trip into the allocator and force instructions to always use %fcc0.
This is to get around the limitation of needing allocatable registers to also be spillable, since, unfortunately, SPARC FCCs only support a very limited set of operations.


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

https://reviews.llvm.org/D135515

Files:
  llvm/lib/Target/Sparc/SparcISelLowering.cpp
  llvm/lib/Target/Sparc/SparcISelLowering.h
  llvm/lib/Target/Sparc/SparcInstrInfo.td
  llvm/test/CodeGen/SPARC/2011-01-11-CC.ll
  llvm/test/CodeGen/SPARC/64cond.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135515.473396.patch
Type: text/x-patch
Size: 9846 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221105/740e8969/attachment.bin>


More information about the llvm-commits mailing list