[llvm] [PowerPC] make LR/LR8 CTR/CTR8 aliased (PR #76926)

Chen Zheng via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 4 16:49:23 PST 2024


================
@@ -270,12 +270,15 @@ def CR7 : CR<7, "cr7", [CR7LT, CR7GT, CR7EQ, CR7UN]>, DwarfRegNum<[75, 75]>;
 
 // Link register
 def LR  : SPR<8, "lr">, DwarfRegNum<[-2, 65]>;
-//let Aliases = [LR] in
----------------
chenzheng1030 wrote:

see https://github.com/llvm/llvm-project/commit/44dbdbe5cf5e

I guess it is because Aliases was not a member of Register at that time.

https://github.com/llvm/llvm-project/pull/76926


More information about the llvm-commits mailing list