aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2020-03-06 13:00:16 -0800
committerThomas Lively <tlively@google.com>2020-03-06 14:28:52 -0800
commitd43fcd0c0410d474a947cf51a3c67aa2e8d5a711 (patch)
tree720270406102e61eb6028f0db19d899a110b718a /llvm/lib/CodeGen/MachineFunction.cpp
parent20dca52288adfb64cdeb25fd25fbe0bb8628e7c3 (diff)
downloadllvm-d43fcd0c0410d474a947cf51a3c67aa2e8d5a711.zip
llvm-d43fcd0c0410d474a947cf51a3c67aa2e8d5a711.tar.gz
llvm-d43fcd0c0410d474a947cf51a3c67aa2e8d5a711.tar.bz2
[WebAssembly] Add SIMD integer min/max builtins
Summary: Although SIMD integer min/max operations can be expressed using the ?: operator in C++, that operator is disallowed for vectors in C. As a workaround, this change introduces new WebAssembly-specific builtin functions that lower to the desired vector icmp/select sequences. Reviewers: aheejin, dschuff, kripken Subscribers: sbc100, jgravelle-google, sunfish, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D75770
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions