[all-commits] [llvm/llvm-project] 16663d: IndirectCallPromotion: Fix illegal promotion with ...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Sun Nov 27 06:39:55 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 16663d8ab36b749b302afdc931244bb1951e0e1c
https://github.com/llvm/llvm-project/commit/16663d8ab36b749b302afdc931244bb1951e0e1c
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2022-11-27 (Sun, 27 Nov 2022)
Changed paths:
M llvm/lib/Transforms/Utils/CallPromotionUtils.cpp
A llvm/test/Transforms/PGOProfile/mismatched-byval-opaque.ll
A llvm/test/Transforms/PGOProfile/mismatched-inalloca-opaque.ll
Log Message:
-----------
IndirectCallPromotion: Fix illegal promotion with opaque pointers
This was doing a type check on the argument types and skipping all
other safety checks if they matched.
More information about the All-commits
mailing list