[llvm] [GlobalIsel][AArch64] fix out of range access in regbankselect (PR #92072)
via llvm-commits
llvm-commits at lists.llvm.org
Mon May 13 23:26:02 PDT 2024
Thorsten =?utf-8?q?Schütt?= <schuett at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/92072 at github.com>
================
@@ -600,8 +600,11 @@ bool AArch64RegisterBankInfo::isLoadFromFPType(const MachineInstr &MI) const {
EltTy = GV->getValueType();
// Look at the first element of the struct to determine the type we are
----------------
DianQK wrote:
```suggestion
// Look at the first valid element of the struct to determine the type we are
```
It seems we should also update the comment.
https://github.com/llvm/llvm-project/pull/92072
More information about the llvm-commits
mailing list