aboutsummaryrefslogtreecommitdiff
path: root/mlir/test/python/lib/PythonTestModulePybind11.cpp
diff options
context:
space:
mode:
authorKoakuma <koachan@protonmail.com>2025-10-08 08:40:25 +0700
committerGitHub <noreply@github.com>2025-10-08 10:40:25 +0900
commitcd33c6b68e7010679517416e87a8abd860bdc747 (patch)
treee2b1732b0888538011ad78b728e9cc2bcb736ce0 /mlir/test/python/lib/PythonTestModulePybind11.cpp
parent3af95f016e1d690670c13b1d33d14999d863f3fe (diff)
downloadllvm-cd33c6b68e7010679517416e87a8abd860bdc747.zip
llvm-cd33c6b68e7010679517416e87a8abd860bdc747.tar.gz
llvm-cd33c6b68e7010679517416e87a8abd860bdc747.tar.bz2
[SPARC] Weaken emitted barriers for atomic ops (#154950)
Weaken barriers for atomic ops to the form that's just enough to enforce memory model constraints. In particular, we try to avoid emitting expensive #StoreLoad barriers whenever possible. The barriers emitted conform to V9's RMO and V8's PSO memory model, and is compatible with GCC's lowering. A quick test with `pgbench` on a T4-1 shows some small (up to about 4%), but consistent speedup.
Diffstat (limited to 'mlir/test/python/lib/PythonTestModulePybind11.cpp')
0 files changed, 0 insertions, 0 deletions