projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace uint16_t with the MCPhysReg typedef in many places. A lot of physical registe...
[oota-llvm.git]
/
lib
/
Target
/
Hexagon
/
MCTargetDesc
/
HexagonMCCodeEmitter.cpp
diff --git
a/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp
b/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp
index 35e490afe41fc81d4f313d6083ca23795c382776..c2c6275e7e8de103acc9ae87413f199b3c5bad98 100644
(file)
--- a/
lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp
+++ b/
lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp
@@
-334,7
+334,7
@@
static Hexagon::Fixups getFixupNoBits(MCInstrInfo const &MCII, const MCInst &MI,
// The only relocs left should be GP relative:
default:
if (MCID.mayStore() || MCID.mayLoad()) {
// The only relocs left should be GP relative:
default:
if (MCID.mayStore() || MCID.mayLoad()) {
- for (const
uint16_t
*ImpUses = MCID.getImplicitUses(); *ImpUses;
+ for (const
MCPhysReg
*ImpUses = MCID.getImplicitUses(); *ImpUses;
++ImpUses) {
if (*ImpUses == Hexagon::GP) {
switch (HexagonMCInstrInfo::getAccessSize(MCII, MI)) {
++ImpUses) {
if (*ImpUses == Hexagon::GP) {
switch (HexagonMCInstrInfo::getAccessSize(MCII, MI)) {