[PATCH] D115850: [LTO][codegen] Add TargetLibraryInfoWrapperPass initially

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 5 11:29:36 PST 2022


aeubanks added a comment.

I'd expect most/all the TLI optimizations to have happened before codegen, although some IR passes can be added to the codegen pipeline, and having the right TLI for those does make sense.
it'd be nice to have an actual test for this in tree, but that might be hard to come up with.  can you use --print-after-all to see which pass is doing something different when this patch is applied, just to convince me that this actually works?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115850



More information about the llvm-commits mailing list