aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2023-05-23 09:19:37 -0700
committerCraig Topper <craig.topper@sifive.com>2023-05-23 09:19:55 -0700
commit139392c0a58008b7451e1a1943f5022dc920928b (patch)
tree2b0d4d9f7c5e13708e7fc2cdcdbd689f15d66eb0 /llvm/lib/IR/Module.cpp
parent47800a12dcb4cb6fee395f86cb7a81aa3fb4b932 (diff)
downloadllvm-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