[PATCH] D69835: Add options for PPC to enable/disable using non-volatile CR

Victor Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 6 12:42:53 PST 2020


NeHuang updated this revision to Diff 236438.
NeHuang added a comment.

Addressed the comments by

- Add "DisableNonVolatileCR" into "PPCFunctionInfo" as a new property, add the functions to set and check it.
- Set the new member in the constructor based on the value of the option.
- Clean up redundant "#2" in the test case.


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

https://reviews.llvm.org/D69835

Files:
  llvm/lib/Target/PowerPC/PPCMachineFunctionInfo.cpp
  llvm/lib/Target/PowerPC/PPCMachineFunctionInfo.h
  llvm/lib/Target/PowerPC/PPCRegisterInfo.td
  llvm/test/CodeGen/PowerPC/ppc-disable-non-volatile-cr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69835.236438.patch
Type: text/x-patch
Size: 5641 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200106/017a3038/attachment.bin>


More information about the llvm-commits mailing list