diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-12-23 21:58:26 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-12-23 21:58:26 +0100 |
commit | 759b8c11c398c20f12503356f8aef604e0bf82be (patch) | |
tree | 104ffa21b066f095b54677fb982c8a8140dda5f1 /clang/lib/Basic/Module.cpp | |
parent | eb79fd3c928dbbb97f7937963361c1dad2bf8222 (diff) | |
download | llvm-759b8c11c398c20f12503356f8aef604e0bf82be.zip llvm-759b8c11c398c20f12503356f8aef604e0bf82be.tar.gz llvm-759b8c11c398c20f12503356f8aef604e0bf82be.tar.bz2 |
[InstCombine] Handle different pointer types when folding gep of null
The source pointer type is not necessarily the same as the result
pointer type, so we can't simply return the original null pointer,
it might be a different one.
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions