[llvm] [TLI] Add getLibFunc in TLI API that accepts an Instruction. (PR #75919)

Paul Walker via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 19 06:53:09 PST 2023


================
@@ -621,3 +622,62 @@ TEST_F(TargetLibraryInfoTest, ValidProto) {
     EXPECT_TRUE(isLibFunc(F, LF));
   }
 }
+
+namespace {
+
+// Creates TLI for AArch64 and VecLibrary ARmPL, and uses it to get the TLI
----------------
paulwalker-arm wrote:

Typo "ARmPL"

That said, what's the relevance to a vector library given the test only relates to scalar functions?

https://github.com/llvm/llvm-project/pull/75919


More information about the llvm-commits mailing list