aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineModuleInfoImpls.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-07-09 21:12:44 +0200
committerNikita Popov <nikita.ppv@gmail.com>2021-07-09 21:14:41 +0200
commitc476566be5d025a3f122392af481a74f887911e6 (patch)
tree97b8a6533a65e9e9f1075d285fb37922255f9181 /llvm/lib/CodeGen/MachineModuleInfoImpls.cpp
parent0813bd1696dc0c971c21ea337df96d3a07ff86d8 (diff)
downloadllvm-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