[ScopBuilder] Avoid pointer element type access
Rather than checking the bitcast pointer element types, compare the element type of the access and the GEP result type. The entire code is dubious due to the inspection of GEP structure, but this at least preserves the spirit of the existing code.
Loading
Please sign in to comment