diff options
author | zhongyunde <zhongyunde@huawei.com> | 2022-05-30 21:04:40 +0800 |
---|---|---|
committer | zhongyunde <zhongyunde@huawei.com> | 2022-05-30 21:05:00 +0800 |
commit | 3e6ba89055c80e6360b7605464520711b30084a6 (patch) | |
tree | f401e27eee50a4c193c12a9c5b28a239311c5622 /clang/lib/Frontend/TestModuleFileExtension.cpp | |
parent | 18c1ee04de448a6a4babbaf8e5ba42866339b466 (diff) | |
download | llvm-3e6ba89055c80e6360b7605464520711b30084a6.zip llvm-3e6ba89055c80e6360b7605464520711b30084a6.tar.gz llvm-3e6ba89055c80e6360b7605464520711b30084a6.tar.bz2 |
[InstCombine] Fold a mul with bool value into and
Fixes https://github.com/llvm/llvm-project/issues/55599
X * Y --> X & Y, iff X, Y can be only {0, 1}.
https://alive2.llvm.org/ce/z/_RsTKF
Reviewed By: spatel, nikic
Differential Revision: https://reviews.llvm.org/D126040
Diffstat (limited to 'clang/lib/Frontend/TestModuleFileExtension.cpp')
0 files changed, 0 insertions, 0 deletions