projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[hexagon] Use range-based for loops. No functionality change intended.
[oota-llvm.git]
/
lib
/
Target
/
Hexagon
/
HexagonNewValueJump.cpp
diff --git
a/lib/Target/Hexagon/HexagonNewValueJump.cpp
b/lib/Target/Hexagon/HexagonNewValueJump.cpp
index 806d4486b1352c8986cd2059b0fcbfb6847bc2fe..81af4db912cc9410261dedcbfbc22f888663420b 100644
(file)
--- a/
lib/Target/Hexagon/HexagonNewValueJump.cpp
+++ b/
lib/Target/Hexagon/HexagonNewValueJump.cpp
@@
-40,6
+40,7
@@
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Debug.h"
+#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetRegisterInfo.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetRegisterInfo.h"
@@
-199,10
+200,7
@@
static bool commonChecksToProhibitNewValueJump(bool afterRA,
// of registers by individual passes in the backend. At this time,
// we don't know the scope of usage and definitions of these
// instructions.
// of registers by individual passes in the backend. At this time,
// we don't know the scope of usage and definitions of these
// instructions.
- if (MII->getOpcode() == Hexagon::TFR_condset_ii ||
- MII->getOpcode() == Hexagon::TFR_condset_ri ||
- MII->getOpcode() == Hexagon::TFR_condset_ir ||
- MII->getOpcode() == Hexagon::LDriw_pred ||
+ if (MII->getOpcode() == Hexagon::LDriw_pred ||
MII->getOpcode() == Hexagon::STriw_pred)
return false;
}
MII->getOpcode() == Hexagon::STriw_pred)
return false;
}