Skip to content

Commit 5fb8d70

Browse files
authored
ARM: Handle vldrh and vstrh in stack access hooks (#120527)
1 parent 5a3f1ac commit 5fb8d70

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,6 +1330,7 @@ Register ARMBaseInstrInfo::isStoreToStackSlot(const MachineInstr &MI,
13301330
case ARM::tSTRspi:
13311331
case ARM::VSTRD:
13321332
case ARM::VSTRS:
1333+
case ARM::VSTRH:
13331334
case ARM::VSTR_P0_off:
13341335
case ARM::VSTR_FPSCR_NZCVQC_off:
13351336
case ARM::MVE_VSTRWU32:
@@ -1588,6 +1589,7 @@ Register ARMBaseInstrInfo::isLoadFromStackSlot(const MachineInstr &MI,
15881589
case ARM::tLDRspi:
15891590
case ARM::VLDRD:
15901591
case ARM::VLDRS:
1592+
case ARM::VLDRH:
15911593
case ARM::VLDR_P0_off:
15921594
case ARM::VLDR_FPSCR_NZCVQC_off:
15931595
case ARM::MVE_VLDRWU32:

0 commit comments

Comments
 (0)