[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
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e1616dc59e6cc2da32866d9451b42e9f65f33a0d
https://github.com/llvm/llvm-project/commit/e1616dc59e6cc2da32866d9451b42e9f65f33a0d
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-04-20 (Wed, 20 Apr 2022)
Changed paths:
M polly/lib/Analysis/ScopBuilder.cpp
Log Message:
-----------
[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
mailing list