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

Freddy, Ye via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 27 17:52:09 PST 2021


FreddyYe added a comment.

> Why would TLI be involved in that test. Isn't the sqrt call converted to llvm.sqrt by the frontend?

Sorry for the late response. BTW, thanks for review! This maybe not a good example. I realized it depends on certain version of math.h. Here's the source code pre-processed on my system which can generate `call __sqrt_finite`: https://gcc.godbolt.org/z/947nhffv1


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