diff options
author | Thomas Lively <tlively@google.com> | 2020-06-02 12:55:06 -0700 |
---|---|---|
committer | Thomas Lively <tlively@google.com> | 2020-06-02 12:55:06 -0700 |
commit | 237be3404b448637ec3b36f8992434193c5bc64c (patch) | |
tree | 44ab54d77e59ff87d253696d6caf2a76f90c7b90 /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp | |
parent | b836ae24a9f4202a73a227bc3dac9b1a40979a7d (diff) | |
download | llvm-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