[all-commits] [llvm/llvm-project] 45b08c: [PowerPC] Set SubRegIndex offset for sub_vsx1/sub_...
jsji via All-commits
all-commits at lists.llvm.org
Tue Dec 8 19:57:09 PST 2020
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 45b08c41bfb04684abfbd846e2924177dbcddd04
https://github.com/llvm/llvm-project/commit/45b08c41bfb04684abfbd846e2924177dbcddd04
Author: Jinsong Ji <jji at us.ibm.com>
Date: 2020-12-08 (Tue, 08 Dec 2020)
Changed paths:
M llvm/lib/Target/PowerPC/PPCRegisterInfo.td
Log Message:
-----------
[PowerPC] Set SubRegIndex offset for sub_vsx1/sub_pair1
We defined SubRegIndex for 256/512 regs,
but we did not set the offset for higher part,
so the offset of lower and higher part are the same.
This may cause problem in assessing ranges of SubReg,
it is great that this haven't affected any testcases,
but I think we should fix it to avoid hidden bugs in the future.
Reviewed By: bsaleil, #powerpc
Differential Revision: https://reviews.llvm.org/D92864
More information about the All-commits
mailing list