[PATCH] D110509: [SelectionDAG] Fix incorrect condition for shift amount truncation

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 26 14:37:32 PDT 2021


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

I think Op1 and Op2 are the same size at this point in the code due to the requirements of the IR operation. But this is more readable.

LGTM


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110509



More information about the llvm-commits mailing list