The shuffle intrinsic macros did not parenthesize usages of their
constant parameters, which could lead to incorrect results due to
operator precedence issues. This patch fixes the problem by adding the
missing paretheses.
Details
Details
- Reviewers
aheejin - Commits
- rG237be3404b44: [WebAssembly] Improve macro hygiene in wasm_simd128.h
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/lib/Headers/wasm_simd128.h | ||
---|---|---|
1040 | It's interesting that clang-format deletes whitespaces around parenthesized expressions... |
It's interesting that clang-format deletes whitespaces around parenthesized expressions...