diff options
author | Sanjay Patel <spatel@rotateright.com> | 2022-12-30 08:47:51 -0500 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2022-12-30 08:54:09 -0500 |
commit | 6c232db2ae933ad8f53cc39c8387fdceef7e8542 (patch) | |
tree | 3601fb77e885756bb5ce3e2149db23ec9733dd67 /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | 94944f800c1242e0375b4a658820a366445e7bc1 (diff) | |
download | llvm-6c232db2ae933ad8f53cc39c8387fdceef7e8542.zip llvm-6c232db2ae933ad8f53cc39c8387fdceef7e8542.tar.gz llvm-6c232db2ae933ad8f53cc39c8387fdceef7e8542.tar.bz2 |
[InstSimplify] fold selects where true/false arm is the same as condition
We managed to fold related patterns in issue #59704,
but we were missing these more basic folds:
https://alive2.llvm.org/ce/z/y6d7SN
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions