aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-06-27 16:11:20 +0200
committerNikita Popov <nikita.ppv@gmail.com>2021-06-27 17:41:40 +0200
commitf00941e061f39646b05fcab93f892fc793845da1 (patch)
tree6499a494fd825c8206aa633a988693d6adae47af /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent09ac97ce350316b95b8cddb796d52f71b6f68296 (diff)
downloadllvm-f00941e061f39646b05fcab93f892fc793845da1.zip
llvm-f00941e061f39646b05fcab93f892fc793845da1.tar.gz
llvm-f00941e061f39646b05fcab93f892fc793845da1.tar.bz2
[DSE] Support opaque pointers
For the start shortening optimization, always use a i8 type for the GEP, as it is a raw offset calculation. Handling of non-i8* memset/memcpy arguments requires insertion of casts. These cases were previously miscompiled, as the offset calculation was performed on the wrong type.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions