Skip to content

Commit e37db0a

Browse files
committed
!fixup also use in ArgumentPromotion.cpp
1 parent 814db7a commit e37db0a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Transforms/IPO/ArgumentPromotion.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,7 @@ doPromotion(Function *F, FunctionAnalysisManager &FAM,
259259
// all promoted loads.
260260
if (LI->hasMetadata(LLVMContext::MD_noundef))
261261
LI->copyMetadata(*Pair.second.MustExecInstr,
262-
{LLVMContext::MD_range, LLVMContext::MD_nonnull,
263-
LLVMContext::MD_align});
262+
Metadata::PoisonGeneratingIDs);
264263
}
265264
Args.push_back(LI);
266265
ArgAttrVec.push_back(AttributeSet());

0 commit comments

Comments
 (0)