aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/Bindings/Python/IRModule.h
diff options
context:
space:
mode:
authorboxu.zhang <boxu-zhang@users.noreply.github.com>2023-12-21 16:47:46 +0800
committerGitHub <noreply@github.com>2023-12-21 09:47:46 +0100
commitd3ef86708241a3bee902615c190dead1638c4e09 (patch)
tree28e903f53f6b4cbcbac6a964ed3cd98c9ad59684 /mlir/lib/Bindings/Python/IRModule.h
parentdb8a119e8f04dfccd40ab7675c62ada81423e5c2 (diff)
downloadllvm-d3ef86708241a3bee902615c190dead1638c4e09.zip
llvm-d3ef86708241a3bee902615c190dead1638c4e09.tar.gz
llvm-d3ef86708241a3bee902615c190dead1638c4e09.tar.bz2
[LoopUnroll] Make UnrollMaxUpperBound to be overridable by target (#76029)
The UnrollMaxUpperBound should be target dependent, since different chips provide different register set which brings different ability of storing more temporary values of a program. So I add a MaxUpperBound value in UnrollingPreference which can be override by targets. All uses of UnrollMaxUpperBound are replaced with UP.MaxUpperBound. The default value is still 8 and the command line argument '--unroll-max-upperbound' takes final effect if provided.
Diffstat (limited to 'mlir/lib/Bindings/Python/IRModule.h')
0 files changed, 0 insertions, 0 deletions