arsenm added a subscriber: arsenm.

================
Comment at: lib/Basic/Targets.cpp:2008-2010
@@ +2007,5 @@
+  uint64_t getOpenCLMaxPointerWidth() const override {
+    if (GPU <= GK_CAYMAN)
+      return 32;
+    return 64;
+  }
----------------
Should use ternary operator and check the triple arch instead


https://reviews.llvm.org/D23361



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to