[llvm-dev] Type unmatched after replacing functions
Tim Northover via llvm-dev
llvm-dev at lists.llvm.org
Thu Sep 19 01:34:12 PDT 2019
Hi Will,
On Thu, 19 Sep 2019 at 09:21, Will Lester via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> The function pointers are often put in the initializers of global variables, and
> they can not be simply replaced by a bitcast ConstantExpr since setOperand()
> cannot be used for Constant.
Are you trying to be more selective than Value::replaceAllUsesWith
would allow for some reason?
Cheers.
Tim.
More information about the llvm-dev
mailing list