[all-commits] [llvm/llvm-project] 236281: [ConstraintElim] Treat ConstantPointerNull as cons...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Wed Nov 22 12:04:34 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 23628137ea9e7a2942d6a691ea74a7697564e65b
https://github.com/llvm/llvm-project/commit/23628137ea9e7a2942d6a691ea74a7697564e65b
Author: Florian Hahn <flo at fhahn.com>
Date: 2023-11-22 (Wed, 22 Nov 2023)
Changed paths:
M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
Log Message:
-----------
[ConstraintElim] Treat ConstantPointerNull as constant offset 0.
Treat ConstantPointerNull (null) as constant offset 0 in the constraint
instead of a variable. This slightly reduces the number of variables. I
was not able to find a test case where this actually caused any changes.
More information about the All-commits
mailing list