Skip to content
Commit d2cc6fd9 authored by Momchil Velikov's avatar Momchil Velikov
Browse files

[ARM] Accept a subset of Thumb GPR register class when emitting an SP-relative

load instruction

The function `Thumb1InstrInfo::loadRegFromStackSlot` accepts only the `tGPR`
register class. The function serves to emit a `tLDRspi` instruction and
certainly any subset of the `tGPR` register class is a valid destination of the
load.

Differential revision: https://reviews.llvm.org/D42535

llvm-svn: 323514
parent cbc5a688
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment