[PATCH] D144840: [ConstraintElimination] Add tests to check for type bounds optimisation from zext instructions

Zain Jaffal via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 26 22:59:32 PST 2023


zjaffal created this revision.
zjaffal added reviewers: fhahn, nikic, spatel.
Herald added a subscriber: StephenFan.
Herald added a project: All.
zjaffal requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Currently we don't utilize the information that if we have a zext operation we can put an upperbound limit to the value if we know that the zext operand is not used in any sign-extended operation


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D144840

Files:
  llvm/test/Transforms/ConstraintElimination/type-bounds.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144840.500668.patch
Type: text/x-patch
Size: 10721 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230227/b0479431/attachment-0001.bin>


More information about the llvm-commits mailing list