aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/arch/AltiVec/MatrixProduct.h
diff options
context:
space:
mode:
authorGravatar Chip-Kerchner <chip.kerchner@ibm.com>2021-02-24 14:46:04 -0600
committerGravatar Chip Kerchner <chip.kerchner@ibm.com>2021-02-24 20:49:15 +0000
commit8523d447a137f20de5485fbdd28aafc3d0774153 (patch)
tree1d40ce81563ff518a944327158e5a72f978fd28c /Eigen/src/Core/arch/AltiVec/MatrixProduct.h
parent5908aeeaba8f768bcce467849d1d41be5ac96599 (diff)
Fixes to support old and new versions of the compilers for built-ins. Cast to non-const when using vector_pair with certain built-ins.
Diffstat (limited to 'Eigen/src/Core/arch/AltiVec/MatrixProduct.h')
-rw-r--r--Eigen/src/Core/arch/AltiVec/MatrixProduct.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/arch/AltiVec/MatrixProduct.h b/Eigen/src/Core/arch/AltiVec/MatrixProduct.h
index 9d9bbebe5..89d81e06f 100644
--- a/Eigen/src/Core/arch/AltiVec/MatrixProduct.h
+++ b/Eigen/src/Core/arch/AltiVec/MatrixProduct.h
@@ -12,7 +12,7 @@
#include "MatrixProductCommon.h"
-#if __GNUC__ > 10 || \
+#if __GNUC__ > 10 || __clang_major__ > 11 || \
(__GNUC__ == 10 && (__GNUC_MINOR__ > 2 || \
(__GNUC_MINOR__ == 2 && \
__GNUC_PATCHLEVEL__ >= 1)))