projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
R600/SI: implement range reduction for sin/cos
[oota-llvm.git]
/
lib
/
Target
/
R600
/
R600ExpandSpecialInstrs.cpp
diff --git
a/lib/Target/R600/R600ExpandSpecialInstrs.cpp
b/lib/Target/R600/R600ExpandSpecialInstrs.cpp
index 0be491c30491fed85406bf6cba621aa44477a22f..732b06dc15c72707340bb0a70f87346788b8f35e 100644
(file)
--- a/
lib/Target/R600/R600ExpandSpecialInstrs.cpp
+++ b/
lib/Target/R600/R600ExpandSpecialInstrs.cpp
@@
-38,11
+38,11
@@
private:
public:
R600ExpandSpecialInstrsPass(TargetMachine &tm) : MachineFunctionPass(ID),
public:
R600ExpandSpecialInstrsPass(TargetMachine &tm) : MachineFunctionPass(ID),
- TII(
0
) { }
+ TII(
nullptr
) { }
-
virtual bool runOnMachineFunction(MachineFunction &MF)
;
+
bool runOnMachineFunction(MachineFunction &MF) override
;
- const char *getPassName() const {
+ const char *getPassName() const
override
{
return "R600 Expand special instructions pass";
}
};
return "R600 Expand special instructions pass";
}
};
@@
-75,7
+75,7
@@
bool R600ExpandSpecialInstrsPass::runOnMachineFunction(MachineFunction &MF) {
MachineBasicBlock::iterator I = MBB.begin();
while (I != MBB.end()) {
MachineInstr &MI = *I;
MachineBasicBlock::iterator I = MBB.begin();
while (I != MBB.end()) {
MachineInstr &MI = *I;
- I =
llvm
::next(I);
+ I =
std
::next(I);
// Expand LDS_*_RET instructions
if (TII->isLDSRetInstr(MI.getOpcode())) {
// Expand LDS_*_RET instructions
if (TII->isLDSRetInstr(MI.getOpcode())) {