diff options
author | Craig Topper <craig.topper@intel.com> | 2020-04-08 16:59:36 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2020-04-08 17:41:16 -0700 |
commit | f3d3cec648202cde1f34b766b4d8fe147f68f1fe (patch) | |
tree | b3d0e947ea291b95ae54fcf313c28d52b971fd5e /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 0985554b709fe6856a2cb77f3739cdeb1bbf9ba5 (diff) | |
download | llvm-f3d3cec648202cde1f34b766b4d8fe147f68f1fe.zip llvm-f3d3cec648202cde1f34b766b4d8fe147f68f1fe.tar.gz llvm-f3d3cec648202cde1f34b766b4d8fe147f68f1fe.tar.bz2 |
[InstCombine] Avoid a call to deprecated version of CreateCall.
Passing a Value * to CreateCall has to call getPointerElementType
to find the type of the pointer.
In this case we can rely on the fact that Intrinsic::getDeclaration
returns a Function * and use that version of CreateCall.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions