[all-commits] [llvm/llvm-project] e1616d: [ScopBuilder] Avoid pointer element type access
Nikita Popov via All-commits
all-commits at lists.llvm.org
Wed Apr 20 02:52:51 PDT 2022
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-04-20 (Wed, 20 Apr 2022)
[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.
More information about the All-commits