[all-commits] [llvm/llvm-project] 8d5c8d: [InlineCost] Check that function types match
Nikita Popov via All-commits
all-commits at lists.llvm.org
Tue Apr 12 02:05:50 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8d5c8d57c637d898094af323d1888ea5a3364f8c
https://github.com/llvm/llvm-project/commit/8d5c8d57c637d898094af323d1888ea5a3364f8c
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-04-12 (Tue, 12 Apr 2022)
Changed paths:
M llvm/lib/Analysis/InlineCost.cpp
A llvm/test/Transforms/Inline/opaque-ptr.ll
Log Message:
-----------
[InlineCost] Check that function types match
Retain the behavior we get without opaque pointers: A call to a
known function with different function type is considered an
indirect call.
This fixes the crash reported in https://reviews.llvm.org/D123300#3444772.
More information about the All-commits
mailing list