Skip to content

Commit 025680f

Browse files
Merge branch 'main' into make-hugify-available-aarhc64
2 parents f88965f + 6eb32a2 commit 025680f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

clang/lib/CodeGen/CGException.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2145,7 +2145,7 @@ llvm::Value *CodeGenFunction::EmitSEHExceptionInfo() {
21452145
// Sema should diagnose calling this builtin outside of a filter context, but
21462146
// don't crash if we screw up.
21472147
if (!SEHInfo)
2148-
return llvm::UndefValue::get(Int8PtrTy);
2148+
return llvm::PoisonValue::get(Int8PtrTy);
21492149
assert(SEHInfo->getType() == Int8PtrTy);
21502150
return SEHInfo;
21512151
}

libclc/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ set( cayman_aliases aruba )
212212
set( tahiti_aliases pitcairn verde oland hainan bonaire kabini kaveri hawaii
213213
mullins tonga tongapro iceland carrizo fiji stoney polaris10 polaris11
214214
gfx602 gfx705 gfx805
215-
gfx900 gfx902 gfx904 gfx906 gfx908 gfx909 gfx90a gfx90c gfx942
215+
gfx900 gfx902 gfx904 gfx906 gfx908 gfx909 gfx90a gfx90c gfx942 gfx950
216216
gfx1010 gfx1011 gfx1012 gfx1013
217217
gfx1030 gfx1031 gfx1032 gfx1033 gfx1034 gfx1035 gfx1036
218218
gfx1100 gfx1101 gfx1102 gfx1103

llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1767,7 +1767,7 @@ void WebAssemblyLowerEmscriptenEHSjLj::handleLongjmpableCallsForWasmSjLj(
17671767
I->eraseFromParent();
17681768

17691769
// Add entries for new predecessors to phis in unwind destinations. We use
1770-
// 'undef' as a placeholder value. We should make sure the phis have a valid
1770+
// 'poison' as a placeholder value. We should make sure the phis have a valid
17711771
// set of predecessors before running SSAUpdater, because SSAUpdater
17721772
// internally can use existing phis to gather predecessor info rather than
17731773
// scanning the actual CFG (See FindPredecessorBlocks in SSAUpdater.cpp for
@@ -1776,7 +1776,7 @@ void WebAssemblyLowerEmscriptenEHSjLj::handleLongjmpableCallsForWasmSjLj(
17761776
for (PHINode &PN : UnwindDest->phis()) {
17771777
for (auto *NewPred : NewPreds) {
17781778
assert(PN.getBasicBlockIndex(NewPred) == -1);
1779-
PN.addIncoming(UndefValue::get(PN.getType()), NewPred);
1779+
PN.addIncoming(PoisonValue::get(PN.getType()), NewPred);
17801780
}
17811781
}
17821782
}

0 commit comments

Comments
 (0)