aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/libclang/LibclangTest.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2023-01-02 13:31:01 -0500
committerSanjay Patel <spatel@rotateright.com>2023-01-02 13:33:28 -0500
commitcb9569049c24e513afe215d5ac3b3dbc79dacf43 (patch)
treec78547c9255bfd0fda7e3fff0adc437f1a22d56f /clang/unittests/libclang/LibclangTest.cpp
parent871c415f2d8a25851929922bf6a82ba0a660a69f (diff)
downloadllvm-cb9569049c24e513afe215d5ac3b3dbc79dacf43.zip
llvm-cb9569049c24e513afe215d5ac3b3dbc79dacf43.tar.gz
llvm-cb9569049c24e513afe215d5ac3b3dbc79dacf43.tar.bz2
[InstCombine] fold mask with not-of-sext-bool to select
~sext(A) & Op1 --> A ? 0 : Op1 With no extra uses, this pattern is already reduced, but we would miss it in examples such as issue #59773. https://alive2.llvm.org/ce/z/WGLcSR
Diffstat (limited to 'clang/unittests/libclang/LibclangTest.cpp')
0 files changed, 0 insertions, 0 deletions