[PATCH] D89288: [RISCV] Enable the use of the old sptbr name

ShihPo Hung via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 20 02:06:08 PDT 2020


arcbbb added a comment.

In D89288#2340403 <https://reviews.llvm.org/D89288#2340403>, @evandro wrote:

> Supporting old names without change of function is sensible, but, in this case, the bit fields in `satp` are different from `stpbr`.  Then, the sensible result should be an error, because the code does need to be ported to the new version of the spec.

I think this can explain the reason that we need to give users a warning or even an error when we support OldName.


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

https://reviews.llvm.org/D89288



More information about the llvm-commits mailing list