[clang] [X86] _mm_addsub_pd is not valid for constexpr (PR #167363)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 10 10:32:18 PST 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-x86
Author: Simon Pilgrim (RKSimon)
<details>
<summary>Changes</summary>
Typo in #<!-- -->156822
Part of #<!-- -->166814
---
Full diff: https://github.com/llvm/llvm-project/pull/167363.diff
1 Files Affected:
- (modified) clang/lib/Headers/pmmintrin.h (+1-1)
``````````diff
diff --git a/clang/lib/Headers/pmmintrin.h b/clang/lib/Headers/pmmintrin.h
index 42bd343e326de..6b152bde29fc1 100644
--- a/clang/lib/Headers/pmmintrin.h
+++ b/clang/lib/Headers/pmmintrin.h
@@ -166,7 +166,7 @@ _mm_moveldup_ps(__m128 __a)
/// A 128-bit vector of [2 x double] containing the right source operand.
/// \returns A 128-bit vector of [2 x double] containing the alternating sums
/// and differences of both operands.
-static __inline__ __m128d __DEFAULT_FN_ATTRS_CONSTEXPR
+static __inline__ __m128d __DEFAULT_FN_ATTRS
_mm_addsub_pd(__m128d __a, __m128d __b) {
return __builtin_ia32_addsubpd((__v2df)__a, (__v2df)__b);
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/167363
More information about the cfe-commits
mailing list