[PATCH 2/2] R600/SI: Enable sub-reg liveness

Tom Stellard thomas.stellard at amd.com
Thu Jan 8 07:44:56 PST 2015


---
 lib/Target/R600/AMDGPUSubtarget.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/Target/R600/AMDGPUSubtarget.h b/lib/Target/R600/AMDGPUSubtarget.h
index 0642b4a..bc057ab 100644
--- a/lib/Target/R600/AMDGPUSubtarget.h
+++ b/lib/Target/R600/AMDGPUSubtarget.h
@@ -224,6 +224,10 @@ public:
   bool isAmdHsaOS() const {
     return TargetTriple.getOS() == Triple::AMDHSA;
   }
+
+  virtual bool enableSubRegLiveness() const override {
+    return true;
+  }
 };
 
 } // End namespace llvm
-- 
1.8.5.5




More information about the llvm-commits mailing list