diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2021-07-09 21:12:44 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2021-07-09 21:14:41 +0200 |
commit | c476566be5d025a3f122392af481a74f887911e6 (patch) | |
tree | 97b8a6533a65e9e9f1075d285fb37922255f9181 /llvm/lib/CodeGen/MachineModuleInfoImpls.cpp | |
parent | 0813bd1696dc0c971c21ea337df96d3a07ff86d8 (diff) | |
download | llvm-c476566be5d025a3f122392af481a74f887911e6.zip llvm-c476566be5d025a3f122392af481a74f887911e6.tar.gz llvm-c476566be5d025a3f122392af481a74f887911e6.tar.bz2 |
[IRForTarget] Don't pass nullptr to GetElementPtrInst::Create() (NFC)
In one case use the source element type of the original GEP. In the
other the correct type isn't obvious to me, so use
getPointerElementType() for now.
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfoImpls.cpp')
0 files changed, 0 insertions, 0 deletions