diff options
author | Karl-Johan Karlsson <karl-johan.karlsson@ericsson.com> | 2018-06-01 19:34:35 +0000 |
---|---|---|
committer | Karl-Johan Karlsson <karl-johan.karlsson@ericsson.com> | 2018-06-01 19:34:35 +0000 |
commit | 6d52e5c3e401d5ffad05ad07d51619e37b56a154 (patch) | |
tree | df1daaa1cef5bcb64853f385ac42672a9590260b /lldb/source/Core/Module.cpp | |
parent | 66f7e19f6a05ca11f62c9e48f8d6ed0c011a47cf (diff) | |
download | bcm5719-llvm-6d52e5c3e401d5ffad05ad07d51619e37b56a154.tar.gz bcm5719-llvm-6d52e5c3e401d5ffad05ad07d51619e37b56a154.zip |
[ConstantFold] Disallow folding vector geps into bitcasts
Summary:
Getelementptr returns a vector of pointers, instead of a single address,
when one or more of its arguments is a vector. In such case it is not
possible to simplify the expression by inserting a bitcast of operand(0)
into the destination type, as it will create a bitcast between different
sizes.
Reviewers: majnemer, mkuper, mssimpso, spatel
Reviewed By: spatel
Subscribers: lebedev.ri, llvm-commits
Differential Revision: https://reviews.llvm.org/D46379
llvm-svn: 333783
Diffstat (limited to 'lldb/source/Core/Module.cpp')
0 files changed, 0 insertions, 0 deletions