R600/SI: implement range reduction for sin/cos
[oota-llvm.git] / lib / Target / R600 / R600ExpandSpecialInstrs.cpp
index ca1189dac95635f4caf2ee20f47280cc6690549f..732b06dc15c72707340bb0a70f87346788b8f35e 100644 (file)
@@ -38,11 +38,11 @@ private:
 
 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";
   }
 };