@@ -493,14 +493,12 @@ class IRBuilderBase {
493493 // / and noalias tags.
494494 // / FIXME: Remove this function once transition to Align is over.
495495 // / Use the version that takes MaybeAlign instead of this one.
496- LLVM_ATTRIBUTE_DEPRECATED (
497- CallInst *CreateMemCpy (Value *Dst, unsigned DstAlign, Value *Src,
498- unsigned SrcAlign, uint64_t Size,
499- bool isVolatile = false , MDNode *TBAATag = nullptr ,
500- MDNode *TBAAStructTag = nullptr ,
501- MDNode *ScopeTag = nullptr ,
502- MDNode *NoAliasTag = nullptr ),
503- "Use the version that takes MaybeAlign instead") {
496+ CallInst *CreateMemCpy (Value *Dst, unsigned DstAlign, Value *Src,
497+ unsigned SrcAlign, uint64_t Size,
498+ bool isVolatile = false , MDNode *TBAATag = nullptr ,
499+ MDNode *TBAAStructTag = nullptr ,
500+ MDNode *ScopeTag = nullptr ,
501+ MDNode *NoAliasTag = nullptr ) {
504502 return CreateMemCpy (Dst, MaybeAlign (DstAlign), Src, MaybeAlign (SrcAlign),
505503 getInt64 (Size), isVolatile, TBAATag, TBAAStructTag,
506504 ScopeTag, NoAliasTag);
@@ -519,14 +517,12 @@ class IRBuilderBase {
519517
520518 // / FIXME: Remove this function once transition to Align is over.
521519 // / Use the version that takes MaybeAlign instead of this one.
522- LLVM_ATTRIBUTE_DEPRECATED (
523- CallInst *CreateMemCpy (Value *Dst, unsigned DstAlign, Value *Src,
524- unsigned SrcAlign, Value *Size,
525- bool isVolatile = false , MDNode *TBAATag = nullptr ,
526- MDNode *TBAAStructTag = nullptr ,
527- MDNode *ScopeTag = nullptr ,
528- MDNode *NoAliasTag = nullptr ),
529- "Use the version that takes MaybeAlign instead");
520+ CallInst *CreateMemCpy (Value *Dst, unsigned DstAlign, Value *Src,
521+ unsigned SrcAlign, Value *Size,
522+ bool isVolatile = false , MDNode *TBAATag = nullptr ,
523+ MDNode *TBAAStructTag = nullptr ,
524+ MDNode *ScopeTag = nullptr ,
525+ MDNode *NoAliasTag = nullptr );
530526 CallInst *CreateMemCpy (Value *Dst, MaybeAlign DstAlign, Value *Src,
531527 MaybeAlign SrcAlign, Value *Size,
532528 bool isVolatile = false , MDNode *TBAATag = nullptr ,
@@ -566,12 +562,10 @@ class IRBuilderBase {
566562 // / and noalias tags.
567563 // / FIXME: Remove this function once transition to Align is over.
568564 // / Use the version that takes MaybeAlign instead of this one.
569- LLVM_ATTRIBUTE_DEPRECATED (
570- CallInst *CreateMemMove (
571- Value *Dst, unsigned DstAlign, Value *Src, unsigned SrcAlign,
572- uint64_t Size, bool isVolatile = false , MDNode *TBAATag = nullptr ,
573- MDNode *ScopeTag = nullptr , MDNode *NoAliasTag = nullptr ),
574- "Use the version that takes MaybeAlign") {
565+ CallInst *CreateMemMove (Value *Dst, unsigned DstAlign, Value *Src, unsigned SrcAlign,
566+ uint64_t Size, bool isVolatile = false ,
567+ MDNode *TBAATag = nullptr , MDNode *ScopeTag = nullptr ,
568+ MDNode *NoAliasTag = nullptr ) {
575569 return CreateMemMove (Dst, DstAlign, Src, SrcAlign, getInt64 (Size), isVolatile,
576570 TBAATag, ScopeTag, NoAliasTag);
577571 }
@@ -585,12 +579,11 @@ class IRBuilderBase {
585579 }
586580 // / FIXME: Remove this function once transition to Align is over.
587581 // / Use the version that takes MaybeAlign instead of this one.
588- LLVM_ATTRIBUTE_DEPRECATED (
589- CallInst *CreateMemMove (
590- Value *Dst, unsigned DstAlign, Value *Src, unsigned SrcAlign,
591- Value *Size, bool isVolatile = false , MDNode *TBAATag = nullptr ,
592- MDNode *ScopeTag = nullptr , MDNode *NoAliasTag = nullptr ),
593- "Use the version that takes MaybeAlign") {
582+ CallInst *CreateMemMove (Value *Dst, unsigned DstAlign, Value *Src,
583+ unsigned SrcAlign, Value *Size,
584+ bool isVolatile = false , MDNode *TBAATag = nullptr ,
585+ MDNode *ScopeTag = nullptr ,
586+ MDNode *NoAliasTag = nullptr ) {
594587 return CreateMemMove (Dst, MaybeAlign (DstAlign), Src, MaybeAlign (SrcAlign),
595588 Size, isVolatile, TBAATag, ScopeTag, NoAliasTag);
596589 }
0 commit comments