File tree Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -534,14 +534,6 @@ class DataLayout {
534
534
return getIntegerAlignment (BitWidth, /* abi_or_pref */ true );
535
535
}
536
536
537
- // / Returns the preferred stack/global alignment for the specified
538
- // / type.
539
- // /
540
- // / This is always at least as good as the ABI alignment.
541
- // / FIXME: Deprecate this function once migration to Align is over.
542
- LLVM_DEPRECATED (" use getPrefTypeAlign instead" , " getPrefTypeAlign" )
543
- uint64_t getPrefTypeAlignment (Type *Ty) const ;
544
-
545
537
// / Returns the preferred stack/global alignment for the specified
546
538
// / type.
547
539
// /
Original file line number Diff line number Diff line change @@ -865,11 +865,6 @@ Align DataLayout::getABITypeAlign(Type *Ty) const {
865
865
return getAlignment (Ty, true );
866
866
}
867
867
868
- // / TODO: Remove this function once the transition to Align is over.
869
- uint64_t DataLayout::getPrefTypeAlignment (Type *Ty) const {
870
- return getPrefTypeAlign (Ty).value ();
871
- }
872
-
873
868
Align DataLayout::getPrefTypeAlign (Type *Ty) const {
874
869
return getAlignment (Ty, false );
875
870
}
You can’t perform that action at this time.
0 commit comments