[PATCH] D129793: [LSR] Allow already invariant operand for ICmpZero matching

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 15 11:29:16 PDT 2022


reames added a comment.

Interestingly, we appear to have at least two distinct bugs here.

One is a straight forward bug in the patch where I didn't account for pointer subtraction properly.

The second - which Artur reported - appears to be something else.  Working on identifying that now, my tentative guess is that's a latent bug in LSR simply being exposed by this change.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129793/new/

https://reviews.llvm.org/D129793



More information about the llvm-commits mailing list