aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Function.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2021-08-20 09:21:31 -0700
committerThomas Lively <tlively@google.com>2021-08-20 09:21:31 -0700
commit88962cea46805dbcc60524f7107030c986833052 (patch)
treed458e525b27e65eae73db7f655709437c0eba78f /llvm/lib/IR/Function.cpp
parent24ea94ad0c1d150a4163577e8f8bd8487edf13ef (diff)
downloadllvm-88962cea46805dbcc60524f7107030c986833052.zip
llvm-88962cea46805dbcc60524f7107030c986833052.tar.gz
llvm-88962cea46805dbcc60524f7107030c986833052.tar.bz2
[WebAssembly] Restore builtins and intrinsics for pmin/pmax
Partially reverts 85157c007903, which had removed these builtins and intrinsics in favor of normal codegen patterns. It turns out that it is possible for the patterns to be split over multiple basic blocks, however, which means that DAG ISel is not able to select them to the pmin/pmax instructions. To make sure the SIMD intrinsics generate the correct instructions in these cases, reintroduce the clang builtins and corresponding LLVM intrinsics, but also keep the normal pattern matching as well. Differential Revision: https://reviews.llvm.org/D108387
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions