[all-commits] [llvm/llvm-project] fc0fa8: [FuncSpec] Allow ConstExprs that are function poin...
sjoerdmeijer via All-commits
all-commits at lists.llvm.org
Tue Oct 12 03:45:03 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fc0fa85171e665f92cee97635bc3a5af8785aa8d
https://github.com/llvm/llvm-project/commit/fc0fa85171e665f92cee97635bc3a5af8785aa8d
Author: Sjoerd Meijer <sjoerd.meijer at arm.com>
Date: 2021-10-12 (Tue, 12 Oct 2021)
Changed paths:
M llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
A llvm/test/Transforms/FunctionSpecialization/function-specialization-constant-expression3.ll
Log Message:
-----------
[FuncSpec] Allow ConstExprs that are function pointers
This is a follow up of D110529 that disallowed constexprs. That change
introduced a regression as this also disallowed constexprs that are function
pointers, which is actually one of the motivating use cases that we do want to
support.
Differential Revision: https://reviews.llvm.org/D111567
More information about the All-commits
mailing list