[llvm] [SelectOpt] Add handling for not conditions. (PR #92517)

Sjoerd Meijer via llvm-commits llvm-commits at lists.llvm.org
Mon May 20 01:38:25 PDT 2024


https://github.com/sjoerdmeijer commented:

> Usually these are canonicalized in instcombine to remove the not and invert the true/false values, but this will not happen for Loginal operations

Just wanted to quickly check the reason instcombine isn't doing canonicalisations for these cases. I guess it's because the limited scope that instcombine has, so it won't trigger, is that right?

https://github.com/llvm/llvm-project/pull/92517


More information about the llvm-commits mailing list