diff options
author | Keno Fischer <keno@alumni.harvard.edu> | 2017-06-29 20:28:59 +0000 |
---|---|---|
committer | Keno Fischer <keno@alumni.harvard.edu> | 2017-06-29 20:28:59 +0000 |
commit | 05e4ac26a2bee9d3177930c676a1dd289aa94fb4 (patch) | |
tree | 649c0699552466e843018475363cda85c206ef27 /clang/lib/Frontend/ASTMerge.cpp | |
parent | f03096b3c3175c07ec2417918e32037c9fb08039 (diff) | |
download | llvm-05e4ac26a2bee9d3177930c676a1dd289aa94fb4.zip llvm-05e4ac26a2bee9d3177930c676a1dd289aa94fb4.tar.gz llvm-05e4ac26a2bee9d3177930c676a1dd289aa94fb4.tar.bz2 |
[CodeGenPrepare] Don't create inttoptr for ni ptrs
Summary:
Arguably non-integral pointers probably shouldn't show up here at all,
but since the backend doesn't complain and this takes valid (according
to the Verifier) IR and makes it invalid, make sure not to introduce
any inttoptr instructions if we're dealing with non-integral pointers.
Reviewed By: sanjoy
Differential Revision: https://reviews.llvm.org/D33110
llvm-svn: 306737
Diffstat (limited to 'clang/lib/Frontend/ASTMerge.cpp')
0 files changed, 0 insertions, 0 deletions