[PATCH] D144879: [ConstraintElimination] Add function arguments to constraint system before solving

Zain Jaffal via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 27 08:04:36 PST 2023


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

If there is an optimisation opportunity and the function argument hasn’t been added to constraint
system through previous facts we fail to optimise it.

It might be a good idea to start the constraint system with all the function arguments added to the system


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D144879

Files:
  llvm/include/llvm/Analysis/ConstraintSystem.h
  llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
  llvm/test/Transforms/ConstraintElimination/transfer-signed-facts-to-unsigned.ll
  llvm/test/Transforms/ConstraintElimination/type-bounds.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144879.500796.patch
Type: text/x-patch
Size: 5936 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230227/4b9f85a6/attachment.bin>


More information about the llvm-commits mailing list