[all-commits] [llvm/llvm-project] 291223: [InlineCost] Consider branches with !make.implicit...
dantrushin via All-commits
all-commits at lists.llvm.org
Thu May 25 08:43:55 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 291223409c6139b5d56efc769088e23ecee44faf
https://github.com/llvm/llvm-project/commit/291223409c6139b5d56efc769088e23ecee44faf
Author: Denis Antrushin <dantrushin at gmail.com>
Date: 2023-05-25 (Thu, 25 May 2023)
Changed paths:
M llvm/lib/Analysis/InlineCost.cpp
A llvm/test/Transforms/Inline/implicit-null-check.ll
Log Message:
-----------
[InlineCost] Consider branches with !make.implicit metadata as free.
!make.implicit metadata attached to branch means it will very likely
be eliminated (together with associated cmp instruction).
Reviewed By: apilipenko
Differential Revision: https://reviews.llvm.org/D149747
More information about the All-commits
mailing list