[Mesa-dev] [PATCH] clover: ignore -cl-no-signed-zeros option
EdB
edb+mesa at sigluy.net
Wed Nov 12 09:02:20 PST 2014
for the moment clang doesn't support this optimization hint
---
src/gallium/state_trackers/clover/llvm/invocation.cpp | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp
index 3a4fcf0..d92f942 100644
--- a/src/gallium/state_trackers/clover/llvm/invocation.cpp
+++ b/src/gallium/state_trackers/clover/llvm/invocation.cpp
@@ -151,6 +151,11 @@ namespace {
while (!ss.eof()) {
std::string opt;
getline(ss, opt, ' ');
+
+ //for the moment clang doesn't support this optimization hint
+ if (opt == "-cl-no-signed-zeros")
+ continue;
+
opts_array.push_back(opt);
}
--
1.9.3
More information about the mesa-dev
mailing list