Skip to content

Commit

Permalink
fix a false positive
Browse files Browse the repository at this point in the history
Clang seems to have issue with `_mm256_storeu2_m128i`
  • Loading branch information
slaperche-scality committed Aug 3, 2018
1 parent b62cc1e commit 576727f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simd_256_u32.h
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ inline aint128 m256i_to_uint128(m256i v)
{
aint128 hi, lo;
_mm256_storeu2_m128i((m128i*)&hi, (m128i*)&lo, v);
return lo;
return lo; // NOLINT(clang-analyzer-core.uninitialized.UndefReturn)
}

inline __uint128_t add(__uint128_t a, __uint128_t b)
Expand Down

0 comments on commit 576727f

Please sign in to comment.