aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/FileManagerTest.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-06-23 13:01:44 +0200
committerNikita Popov <nikita.ppv@gmail.com>2021-09-01 21:02:05 +0200
commit02f74eadbe2f56db4807dbc785a99e941a98300a (patch)
tree88fe6bbbf8153bafd7585d213d5541f898b90528 /clang/unittests/Basic/FileManagerTest.cpp
parent0239adac4aa09900937d08ababf34e43bfca1442 (diff)
downloadllvm-02f74eadbe2f56db4807dbc785a99e941a98300a.zip
llvm-02f74eadbe2f56db4807dbc785a99e941a98300a.tar.gz
llvm-02f74eadbe2f56db4807dbc785a99e941a98300a.tar.bz2
[IVDescriptors] Make pointer inductions compatible with opaque pointers
Store the used element type in the InductionDescriptor. For typed pointers, it remains the pointer element type. For opaque pointers, we always use an i8 element type, such that the step is a simple offset. A previous version of this patch instead tried to guess the element type from an induction GEP, but this is not reliable, as the GEP may be hidden (see @both in iv_outside_user.ll). Differential Revision: https://reviews.llvm.org/D104795
Diffstat (limited to 'clang/unittests/Basic/FileManagerTest.cpp')
0 files changed, 0 insertions, 0 deletions