projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d117fbb
)
When loading a value, treat an i1 as an i8.
author
Chad Rosier
<mcrosier@apple.com>
Fri, 11 Nov 2011 02:38:59 +0000
(
02:38
+0000)
committer
Chad Rosier
<mcrosier@apple.com>
Fri, 11 Nov 2011 02:38:59 +0000
(
02:38
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144356
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMFastISel.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMFastISel.cpp
b/lib/Target/ARM/ARMFastISel.cpp
index 030fab1631678045ce13f62b141e6a3f9c70050f..c2f0a7135d9a0a192cc782a82c017fac0f01c953 100644
(file)
--- a/
lib/Target/ARM/ARMFastISel.cpp
+++ b/
lib/Target/ARM/ARMFastISel.cpp
@@
-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;