6 Commits

Author SHA1 Message Date
Nikita Popov
7f59264d46
[IPSCCP] Intersect attribute info for interprocedural args (#106397)
IPSCCP can currently return worse results than SCCP for arguments that
are tracked interprocedurally, because information from attributes is
not used for them.

Fix this by intersecting in the attribute information when propagating
lattice values from calls.
2024-08-29 09:34:56 +02:00
Nikita Popov
b8c0e8ad10 [IPSCCP] Add extra tests for interprocedural arg attr handling (NFC) 2024-08-28 15:55:14 +02:00
Nikita Popov
03e0be90ca [SCCP] Make use of argument attributes in non-ip SCCP
Initialize arguments based on attributes instead of hardcoding them
to overdefined. This was already properly done for ipsccp.
2024-08-26 15:09:33 +02:00
Nikita Popov
1e5f336a72 [SCCP] Run test with both ipsccp and sccp (NFC) 2024-08-26 15:09:33 +02:00
Nikita Popov
16bb8c16aa [SCCP] Use poison instead of undef when zapping returns 2024-06-25 12:35:25 +02:00
Andreas Jonson
e7bc537264
[IPSCCP] Add range attribute handling (#86747)
Support the new range attribute to infer ConstantRanges in IPSCCP.
2024-04-11 18:42:59 +09:00