aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2020-06-02 12:55:06 -0700
committerThomas Lively <tlively@google.com>2020-06-02 12:55:06 -0700
commit237be3404b448637ec3b36f8992434193c5bc64c (patch)
tree44ab54d77e59ff87d253696d6caf2a76f90c7b90 /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
parentb836ae24a9f4202a73a227bc3dac9b1a40979a7d (diff)
downloadllvm-237be3404b448637ec3b36f8992434193c5bc64c.zip
llvm-237be3404b448637ec3b36f8992434193c5bc64c.tar.gz
llvm-237be3404b448637ec3b36f8992434193c5bc64c.tar.bz2
[WebAssembly] Improve macro hygiene in wasm_simd128.h
Summary: 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. Reviewers: aheejin Subscribers: dschuff, sbc100, jgravelle-google, sunfish, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D80968
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions