diff options
author | Craig Topper <craig.topper@sifive.com> | 2023-05-23 09:19:37 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2023-05-23 09:19:55 -0700 |
commit | 139392c0a58008b7451e1a1943f5022dc920928b (patch) | |
tree | 2b0d4d9f7c5e13708e7fc2cdcdbd689f15d66eb0 /llvm/lib/IR/Module.cpp | |
parent | 47800a12dcb4cb6fee395f86cb7a81aa3fb4b932 (diff) | |
download | llvm-139392c0a58008b7451e1a1943f5022dc920928b.zip llvm-139392c0a58008b7451e1a1943f5022dc920928b.tar.gz llvm-139392c0a58008b7451e1a1943f5022dc920928b.tar.bz2 |
[LegalizeTypes][ARM][AArch6][RISCV][VE][WebAssembly] Add special case for smin(X, -1) and smax(X, 0) to ExpandIntRes_MINMAX.
We can compute a simpler expression for Lo for these cases. This
is an alternative for the test cases in D151180 that works for
more targets.
This is similar to some of the special cases we have for expanding
setcc operands.
Differential Revision: https://reviews.llvm.org/D151182
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions