mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
When loading a value, treat an i1 as an i8.
llvm-svn: 144356
This commit is contained in:
parent
8b9a227517
commit
38f07d3f9c
@ -955,6 +955,7 @@ bool ARMFastISel::ARMEmitLoad(EVT VT, unsigned &ResultReg, Address &Addr) {
|
||||
switch (VT.getSimpleVT().SimpleTy) {
|
||||
// This is mostly going to be Neon/vector support.
|
||||
default: return false;
|
||||
case MVT::i1:
|
||||
case MVT::i8:
|
||||
Opc = isThumb2 ? ARM::t2LDRBi12 : ARM::LDRBi12;
|
||||
RC = ARM::GPRRegisterClass;
|
||||
|
Loading…
Reference in New Issue
Block a user