[PATCH] D128901: [LoongArch] Add codegen support for atomic fence, atomic load and atomic store
Kai Luo via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 2 04:35:43 PDT 2022
lkail added inline comments.
================
Comment at: llvm/lib/Target/LoongArch/LoongArchTargetMachine.cpp:116
+void LoongArchPassConfig::addIRPasses() {
+ addPass(createAtomicExpandPass());
+
----------------
You may need to add tests in `lvm/test/Transforms/AtomicExpand/LoongArch`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128901/new/
https://reviews.llvm.org/D128901
More information about the llvm-commits
mailing list