diff options
author | Nikita Popov <npopov@redhat.com> | 2023-07-18 11:13:26 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2023-07-18 11:18:31 +0200 |
commit | 9cf5254878ca13bc55a988a4bb370de6c3d791f3 (patch) | |
tree | dcb0ea2b079d8ded5974d8052e6cc64ce82464bc /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | 2c651184a2b0ef1b0e24c6536e5befb65a0ae5ce (diff) | |
download | llvm-9cf5254878ca13bc55a988a4bb370de6c3d791f3.zip llvm-9cf5254878ca13bc55a988a4bb370de6c3d791f3.tar.gz llvm-9cf5254878ca13bc55a988a4bb370de6c3d791f3.tar.bz2 |
[llvm] Remove some uses of isOpaqueOrPointeeTypeEquals() (NFC)
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/InlineFunction.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/InlineFunction.cpp b/llvm/lib/Transforms/Utils/InlineFunction.cpp index dd5380b..23144c06 100644 --- a/llvm/lib/Transforms/Utils/InlineFunction.cpp +++ b/llvm/lib/Transforms/Utils/InlineFunction.cpp @@ -1480,8 +1480,6 @@ static Value *HandleByValArgument(Type *ByValType, Value *Arg, const Function *CalledFunc, InlineFunctionInfo &IFI, MaybeAlign ByValAlignment) { - assert(cast<PointerType>(Arg->getType()) - ->isOpaqueOrPointeeTypeMatches(ByValType)); Function *Caller = TheCall->getFunction(); const DataLayout &DL = Caller->getParent()->getDataLayout(); |