[PATCH] D115451: [TypePromotion] Avoid some unnecessary truncs

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 31 05:42:38 PST 2022


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

Sorry for the delay. This doesn't fix the original case unfortunately, as that version doesn't start with an icmp. The test case is a little different with the loads feeding the loop condition.
But sounds like it should be an improvement, so LGTM (I would suggest committing after the branch ;) )


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115451



More information about the llvm-commits mailing list