[llvm] TargetLibraryInfo: Use pointer index size to determine getSizeTSize(). (PR #118747)

Alexander Richardson via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 9 16:57:31 PST 2024


================
@@ -8,11 +8,10 @@ target datalayout = "e-m:o-p:40:64:64:32-i64:64-f80:128-n8:16:32:64-S128"
 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
 @.str.2 = private unnamed_addr constant [4 x i8] c"str\00", align 1
 
-; Check fwrite is generated with arguments of ptr size, not index size
----------------
arichardson wrote:

I'd keep this comment (as per https://llvm.org/docs/TestingGuide.html#best-practices-for-regression-tests) but maybe put it at the top of the file instead

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


More information about the llvm-commits mailing list