[all-commits] [llvm/llvm-project] 0f5b71: [LTO][codegen] Add TargetLibraryInfoWrapperPass in...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Jan 5 17:24:57 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f5b718030e7112773ff4e88dd026204ba5b2890
      https://github.com/llvm/llvm-project/commit/0f5b718030e7112773ff4e88dd026204ba5b2890
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-01-06 (Thu, 06 Jan 2022)

  Changed paths:
    M llvm/lib/LTO/LTOBackend.cpp
    A llvm/test/LTO/X86/tli-sqrtf_finite.ll

  Log Message:
  -----------
  [LTO][codegen] Add TargetLibraryInfoWrapperPass initially

Many codegen pass require this pass with useful triple info. Legacy pass manager need to
add a TargetLibraryInfo with the module info before run passes. Or the TargetLibraryInfo
will be initialized too conservative.

Reviewed By: pengfei, aeubanks

Differential Revision: https://reviews.llvm.org/D115850




More information about the All-commits mailing list