[all-commits] [llvm/llvm-project] 342bbb: [FuncSpec] Don't specialise functions with NoDupli...
sjoerdmeijer via All-commits
all-commits at lists.llvm.org
Mon Jun 21 01:02:36 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 342bbb7832b69cc2adba9acaac0ed2b9bffbe896
https://github.com/llvm/llvm-project/commit/342bbb7832b69cc2adba9acaac0ed2b9bffbe896
Author: Sjoerd Meijer <sjoerd.meijer at arm.com>
Date: 2021-06-21 (Mon, 21 Jun 2021)
Changed paths:
M llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
M llvm/test/Transforms/FunctionSpecialization/function-specialization-nodup2.ll
Log Message:
-----------
[FuncSpec] Don't specialise functions with NoDuplicate instructions.
getSpecializationCost was returning INT_MAX for a case when specialisation
shouldn't happen, but this wasn't properly checked if specialisation was
forced.
Differential Revision: https://reviews.llvm.org/D104461
More information about the All-commits
mailing list