[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.
parent
9235e597
Please register or sign in to comment