diff options
author | Artem Belevich <tra@google.com> | 2018-05-11 21:13:19 +0000 |
---|---|---|
committer | Artem Belevich <tra@google.com> | 2018-05-11 21:13:19 +0000 |
commit | c2cd5d5ce053b49c1a75216a8e9c7b4f298319ad (patch) | |
tree | fe4cdac48ccc2013e5052da5b6b206d9c3963ec7 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | f108a8fee10fb189faff4b2edbecbec8b6322a58 (diff) | |
download | bcm5719-llvm-c2cd5d5ce053b49c1a75216a8e9c7b4f298319ad.tar.gz bcm5719-llvm-c2cd5d5ce053b49c1a75216a8e9c7b4f298319ad.zip |
[Split GEP] handle trunc() in separate-const-offset-from-gep pass.
Let separate-const-offset-from-gep pass handle trunc() when it calculates
constant offset relative to base. The pass itself may insert trunc()
instructions when it canonicalises array indices to pointer-size integers
and needs to handle trunc() in order to evaluate the offset.
Differential Revision: https://reviews.llvm.org/D46732
llvm-svn: 332142
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions