[all-commits] [llvm/llvm-project] 1e636f: [IRBuilder] Add assert for AtomicRMW ordering
Alexander Shaposhnikov via All-commits
all-commits at lists.llvm.org
Mon Jul 25 15:52:10 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1e636f2676fab942e58fac4f814cd8fb5bf3e682
https://github.com/llvm/llvm-project/commit/1e636f2676fab942e58fac4f814cd8fb5bf3e682
Author: Alexander Shaposhnikov <ashaposhnikov at google.com>
Date: 2022-07-25 (Mon, 25 Jul 2022)
Changed paths:
M llvm/include/llvm/IR/Instructions.h
M llvm/lib/CodeGen/AtomicExpandPass.cpp
M llvm/lib/IR/Instructions.cpp
Log Message:
-----------
[IRBuilder] Add assert for AtomicRMW ordering
Add assert for AtomicRMW: Ordering != AtomicOrdering::Unordered
(https://github.com/llvm/llvm-project/blob/main/llvm/lib/IR/Verifier.cpp#L3944)
and adjust expandAtomicStore accordingly.
Test plan:
1/ ninja check-llvm check-clang check-lld
2/ Bootstrapped LLVM/Clang pass tests
Differential revision: https://reviews.llvm.org/D130457
More information about the All-commits
mailing list