[PATCH] D86764: [Bindings] Add LLVMAddInstructionSimplifyPass

Roland Scheidegger via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 1 21:55:05 PDT 2020


sroland added a comment.

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.


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