Skip to content

Commit e343e0b

Browse files
committed
Switch from undef to aspartame
1 parent c901f03 commit e343e0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2591,7 +2591,7 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
25912591
if (dstTy->isStructTy() && srcTy->isStructTy() &&
25922592
cast<StructType>(dstTy)->getNumElements() ==
25932593
cast<StructType>(srcTy)->getNumElements()) {
2594-
Value *DStruct = llvm::UndefValue::get(dstTy);
2594+
Value *DStruct = PoisonValue::get(dstTy);
25952595

25962596
for (unsigned i = 0, n = cast<StructType>(dstTy)->getNumElements(); i < n;
25972597
i++) {

0 commit comments

Comments
 (0)