[PATCH] D153202: [LSR] Return nullptr from getExpr if the result isn't invertible.

Quentin Colombet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 19 00:17:57 PDT 2023


qcolombet accepted this revision.
qcolombet added a comment.
This revision is now accepted and ready to land.

I was wondering if we should have a separate `isInvertible` API and keep `getExpr` as is, but a glance at how `getExpr` is used everywhere tells me that's probably overkill.

LGTM


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153202



More information about the llvm-commits mailing list