[PATCH] D105620: [PoC][DO_NOT_MERGE] Add llc option to switch on and off hasMultipleConditionRegisters feature from a target.

Paolo Savini via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 8 03:46:52 PDT 2021


PaoloS created this revision.
Herald added subscribers: frasercrmck, luismarques, apazos, sameer.abuasal, simoncook, s.egerton, Jim, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, niosHD, sabuasal, johnrusso, rbar, asb, hiraditya.
PaoloS requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.

This patch is currently for display only.
The aim of the patch is to make it easier to test the effectiveness of the feature hasMultipleConditionRegisters in a target as such feature is set statically in the target lowering info and influences optimization in several places.
This patch adds the llc option -has-multiple-condition-registers=0/1.
It doesn't change the codegen behaviour.


https://reviews.llvm.org/D105620

Files:
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/lib/CodeGen/TargetLoweringBase.cpp
  llvm/test/CodeGen/RISCV/multiple-cond-regs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105620.357182.patch
Type: text/x-patch
Size: 5291 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210708/27cf341b/attachment.bin>


More information about the llvm-commits mailing list