[PATCH] D48638: [Sparc] Add support for the cycle counter available in GR740

Daniel Cederman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 13 07:56:21 PDT 2018


dcederman updated this revision to Diff 160357.
dcederman added a comment.

Reserved register ASR23 to avoid error stating that register ASR23 is "an undefined physical register". Not sure if this is the correct solution, so putting this up for review again.


https://reviews.llvm.org/D48638

Files:
  lib/Target/Sparc/LeonFeatures.td
  lib/Target/Sparc/Sparc.td
  lib/Target/Sparc/SparcISelLowering.cpp
  lib/Target/Sparc/SparcRegisterInfo.cpp
  lib/Target/Sparc/SparcSubtarget.cpp
  lib/Target/Sparc/SparcSubtarget.h
  test/CodeGen/SPARC/readcycle.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48638.160357.patch
Type: text/x-patch
Size: 4196 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180813/aabb1605/attachment.bin>


More information about the llvm-commits mailing list