Unverified Commit 96d2dc72 authored by csstormq's avatar csstormq Committed by GitHub
Browse files

[SCEVAA] Enhance SCEVAAResult::alias() to handle two pointers with different pointer bases (#91453)

This patch enhances the SCEVAAResult::alias() interface to handle two
pointers with different pointer bases.

Before calling getMinusSCEV(), we firstly try to explicitly convert
these two pointers into ptrtoint expressions to do that.

Either both pointers are used with ptrtoint or neither, so we can't
end up with a ptr + int mix.
parent 30c10fda
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment