File tree 1 file changed +0
-4
lines changed
1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -3742,8 +3742,6 @@ void Verifier::visitLoadInst(LoadInst &LI) {
3742
3742
Assert (LI.getOrdering () != AtomicOrdering::Release &&
3743
3743
LI.getOrdering () != AtomicOrdering::AcquireRelease,
3744
3744
" Load cannot have Release ordering" , &LI);
3745
- Assert (LI.getAlignment () != 0 ,
3746
- " Atomic load must specify explicit alignment" , &LI);
3747
3745
Assert (ElTy->isIntOrPtrTy () || ElTy->isFloatingPointTy (),
3748
3746
" atomic load operand must have integer, pointer, or floating point "
3749
3747
" type!" ,
@@ -3770,8 +3768,6 @@ void Verifier::visitStoreInst(StoreInst &SI) {
3770
3768
Assert (SI.getOrdering () != AtomicOrdering::Acquire &&
3771
3769
SI.getOrdering () != AtomicOrdering::AcquireRelease,
3772
3770
" Store cannot have Acquire ordering" , &SI);
3773
- Assert (SI.getAlignment () != 0 ,
3774
- " Atomic store must specify explicit alignment" , &SI);
3775
3771
Assert (ElTy->isIntOrPtrTy () || ElTy->isFloatingPointTy (),
3776
3772
" atomic store operand must have integer, pointer, or floating point "
3777
3773
" type!" ,
You can’t perform that action at this time.
0 commit comments