diff options
author | Krzysztof Drewniak <Krzysztof.Drewniak@amd.com> | 2023-02-06 21:45:44 +0000 |
---|---|---|
committer | Krzysztof Drewniak <Krzysztof.Drewniak@amd.com> | 2023-02-07 16:06:58 +0000 |
commit | 2d279c0d95d405098a6148cad6c9a68c92e6df4f (patch) | |
tree | 97576040f68132cb8aeb6bb4e0508cde27d86b1f /clang/lib/Basic/FileManager.cpp | |
parent | 9b15faebb97310080fc8cfd13e1cc5af0f45e038 (diff) | |
download | llvm-2d279c0d95d405098a6148cad6c9a68c92e6df4f.zip llvm-2d279c0d95d405098a6148cad6c9a68c92e6df4f.tar.gz llvm-2d279c0d95d405098a6148cad6c9a68c92e6df4f.tar.bz2 |
[llvm] Add tests for upcoming fixes to pointer/index type confusion.
Various parts of the codebase are using getIntPtrType() and its
relatives when getting the type of the offset argument to GEP. Most
such code has been updated to use the pointer index type field from
the data layout, but there is code that still assumes these two types
are the same in certain optimizaiton passes.
This commit adds regression tests to capture the old behavior.
Reviewed By: #amdgpu, arsenm
Differential Revision: https://reviews.llvm.org/D143435
Diffstat (limited to 'clang/lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions