aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-12-23 21:58:26 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-12-23 21:58:26 +0100
commit759b8c11c398c20f12503356f8aef604e0bf82be (patch)
tree104ffa21b066f095b54677fb982c8a8140dda5f1 /clang/lib/Basic/Module.cpp
parenteb79fd3c928dbbb97f7937963361c1dad2bf8222 (diff)
downloadllvm-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