diff options
author | Sanjay Patel <spatel@rotateright.com> | 2021-09-01 14:40:00 -0400 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2021-09-01 14:40:00 -0400 |
commit | 8c7a7e1f67b12d250fbd6cbd3aed39dccacd53bf (patch) | |
tree | e4caed170a9281ca8d206ee9f741e12c90f44ca0 /clang/unittests/Basic/FileManagerTest.cpp | |
parent | 8a10f4a0f661a11715ab0430c2b3b27a8f36267e (diff) | |
download | llvm-8c7a7e1f67b12d250fbd6cbd3aed39dccacd53bf.zip llvm-8c7a7e1f67b12d250fbd6cbd3aed39dccacd53bf.tar.gz llvm-8c7a7e1f67b12d250fbd6cbd3aed39dccacd53bf.tar.bz2 |
[InstCombine] allow more min/max with 'not' folds for intrinsics
isFreeToInvert allows min/max with 'not' on both operands,
so easing the argument restriction catches the case where
that operand has one use.
We already handle the sub-patterns when there are less uses:
https://alive2.llvm.org/ce/z/8Jatm_
...but this is another step towards parity with the
equivalent icmp+select idioms ( D98152 ).
Differential Revision: https://reviews.llvm.org/D109059
Diffstat (limited to 'clang/unittests/Basic/FileManagerTest.cpp')
0 files changed, 0 insertions, 0 deletions