diff options
author | Sanjay Patel <spatel@rotateright.com> | 2021-11-05 17:32:24 -0400 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2021-11-06 08:32:52 -0400 |
commit | 83c2fb9f66be0eab489818ca87027dd2dbfeaa8e (patch) | |
tree | fee0376b7d7d9a5b9b2918fdd572aafcfba92894 /llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp | |
parent | 025a2f73a31955cfd9b1e097533b9c6ef15dc6d3 (diff) | |
download | llvm-83c2fb9f66be0eab489818ca87027dd2dbfeaa8e.zip llvm-83c2fb9f66be0eab489818ca87027dd2dbfeaa8e.tar.gz llvm-83c2fb9f66be0eab489818ca87027dd2dbfeaa8e.tar.bz2 |
[InstCombine] match usub.sat from umax intrinsic
umax(X, Op1) - Op1 --> usub.sat(X, Op1)
https://alive2.llvm.org/ce/z/HpcGiJ
This happens in 2 or more steps with an icmp-select idiom
instead of an intrinsic. This is another step towards
canonicalization of the min/max intrinsics. See:
D98152
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp')
0 files changed, 0 insertions, 0 deletions