[llvm] [TLI] Return LibFunc from TargetLibraryInfo::getLibFunc (PR #217561)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 20 02:50:05 PDT 2026


================
@@ -1,11 +1,12 @@
 ; RUN: opt < %s -passes='print<branch-prob>' -disable-output 2>&1 | FileCheck %s
+target datalayout = "e-p:32:32"
----------------
nikic wrote:

If you omit the datalayout you get a guaranteed default 64-bit layout, it does not depend on the target LLVM is compiled for.

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


More information about the llvm-commits mailing list