[all-commits] [llvm/llvm-project] 64573d: [IR] Add "Large Data Threshold" module metadata (#...
Arthur Eubanks via All-commits
all-commits at lists.llvm.org
Tue Sep 19 16:36:48 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 64573da4bf0bc7883e6d4d3debc60daf665d78b8
https://github.com/llvm/llvm-project/commit/64573da4bf0bc7883e6d4d3debc60daf665d78b8
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2023-09-19 (Tue, 19 Sep 2023)
Changed paths:
M llvm/include/llvm/IR/Module.h
M llvm/lib/IR/Module.cpp
M llvm/lib/LTO/LTOBackend.cpp
A llvm/test/LTO/X86/Inputs/largedatathreshold.ll
A llvm/test/LTO/X86/largedatathreshold-1.ll
A llvm/test/LTO/X86/largedatathreshold-2.ll
A llvm/test/LTO/X86/largedatathreshold-3.ll
Log Message:
-----------
[IR] Add "Large Data Threshold" module metadata (#66797)
This allows us to not have to pass -mllvm flags to set the large data
threshold for (in-LLD/not-distributed) ThinLTO.
Follows https://reviews.llvm.org/D52322, which did the same for the code
model.
Since the large data threshold is tied to the code model and we disallow
mixing different code models, do the same for the large data threshold.
More information about the All-commits
mailing list