diff options
author | Florian Hahn <flo@fhahn.com> | 2023-11-22 20:03:01 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2023-11-22 20:03:04 +0000 |
commit | 23628137ea9e7a2942d6a691ea74a7697564e65b (patch) | |
tree | 1e20a1ce0a58c0d68f6a7d7b35df5e27b688346b /llvm/lib/Transforms/Utils/ModuleUtils.cpp | |
parent | 6f0c52e56fb7f237ed8071573ce8a2021b4c7289 (diff) | |
download | llvm-23628137ea9e7a2942d6a691ea74a7697564e65b.zip llvm-23628137ea9e7a2942d6a691ea74a7697564e65b.tar.gz llvm-23628137ea9e7a2942d6a691ea74a7697564e65b.tar.bz2 |
[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.
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions