projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ARM: add @llvm.arm.space intrinsic for testing ConstantIslands.
[oota-llvm.git]
/
lib
/
Target
/
ARM
/
ARMBaseInstrInfo.cpp
diff --git
a/lib/Target/ARM/ARMBaseInstrInfo.cpp
b/lib/Target/ARM/ARMBaseInstrInfo.cpp
index 4ab05f910ff33bb29cd70360f1b27ef97739e801..7a315c4b2ef5c27152ad3c86c30806dc6a97bfcf 100644
(file)
--- a/
lib/Target/ARM/ARMBaseInstrInfo.cpp
+++ b/
lib/Target/ARM/ARMBaseInstrInfo.cpp
@@
-674,6
+674,8
@@
unsigned ARMBaseInstrInfo::GetInstSizeInBytes(const MachineInstr *MI) const {
++NumEntries;
return NumEntries * EntrySize + InstSize;
}
+ case ARM::SPACE:
+ return MI->getOperand(1).getImm();
}
}