[PATCH] D86764: [Bindings] Add LLVMAddInstructionSimplifyPass

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 2 09:24:38 PDT 2020


aeubanks added a comment.

In D86764#2251353 <https://reviews.llvm.org/D86764#2251353>, @sroland wrote:

> Actually it doesn't seem to work, I get undefined references to LLVMAddInstructionSimplifyPass at link time in mesa.
> Not entirely sure why (would InstSimplifyPass.cpp have to include Scalar.h?), but moving the LLVMAddInstructionSimplifyPass() function to Scalar.cpp (all the other scalar passes have the wrapper function there already) fixes it.

Sorry about that, https://reviews.llvm.org/D87041.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86764/new/

https://reviews.llvm.org/D86764



More information about the llvm-commits mailing list