[SCEV] Fix getOperandsToCreate() for and/or
authorNikita Popov <npopov@redhat.com>
Thu, 27 Apr 2023 08:49:34 +0000 (10:49 +0200)
committerNikita Popov <npopov@redhat.com>
Thu, 27 Apr 2023 08:50:57 +0000 (10:50 +0200)
commit4fcb006fb627b26a454d59298cd771fffd670477
tree18d29dbfa8f1aacdc817df33e4382000fd8bedd5
parente63cc56d9d049edbc30528aba7e9dd918ab8f82d
[SCEV] Fix getOperandsToCreate() for and/or

We can create expressions either for constant operand or i1
and/or. The implementation was inverting the latter check.
llvm/lib/Analysis/ScalarEvolution.cpp