[llvm] [InstCombine] Fold xored one-complemented operand comparisons (PR #69882)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 24 10:15:53 PDT 2023
goldsteinn wrote:
> > @dtcxzyw why did the build fail?
>
> You should add `Value *C` to shadow the definition `const APInt *C` in the outer scope.
Or instead rename variables to X/Y/Z as shadow variables can cause confusion and in llvm `C` usually means constant which isn't the case here.
https://github.com/llvm/llvm-project/pull/69882
More information about the llvm-commits
mailing list