File tree 3 files changed +4
-4
lines changed
llvm/lib/Target/WebAssembly 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2145,7 +2145,7 @@ llvm::Value *CodeGenFunction::EmitSEHExceptionInfo() {
2145
2145
// Sema should diagnose calling this builtin outside of a filter context, but
2146
2146
// don't crash if we screw up.
2147
2147
if (!SEHInfo)
2148
- return llvm::UndefValue ::get (Int8PtrTy);
2148
+ return llvm::PoisonValue ::get (Int8PtrTy);
2149
2149
assert (SEHInfo->getType () == Int8PtrTy);
2150
2150
return SEHInfo;
2151
2151
}
Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ set( cayman_aliases aruba )
212
212
set ( tahiti_aliases pitcairn verde oland hainan bonaire kabini kaveri hawaii
213
213
mullins tonga tongapro iceland carrizo fiji stoney polaris10 polaris11
214
214
gfx602 gfx705 gfx805
215
- gfx900 gfx902 gfx904 gfx906 gfx908 gfx909 gfx90a gfx90c gfx942
215
+ gfx900 gfx902 gfx904 gfx906 gfx908 gfx909 gfx90a gfx90c gfx942 gfx950
216
216
gfx1010 gfx1011 gfx1012 gfx1013
217
217
gfx1030 gfx1031 gfx1032 gfx1033 gfx1034 gfx1035 gfx1036
218
218
gfx1100 gfx1101 gfx1102 gfx1103
Original file line number Diff line number Diff line change @@ -1767,7 +1767,7 @@ void WebAssemblyLowerEmscriptenEHSjLj::handleLongjmpableCallsForWasmSjLj(
1767
1767
I->eraseFromParent ();
1768
1768
1769
1769
// 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
1771
1771
// set of predecessors before running SSAUpdater, because SSAUpdater
1772
1772
// internally can use existing phis to gather predecessor info rather than
1773
1773
// scanning the actual CFG (See FindPredecessorBlocks in SSAUpdater.cpp for
@@ -1776,7 +1776,7 @@ void WebAssemblyLowerEmscriptenEHSjLj::handleLongjmpableCallsForWasmSjLj(
1776
1776
for (PHINode &PN : UnwindDest->phis ()) {
1777
1777
for (auto *NewPred : NewPreds) {
1778
1778
assert (PN.getBasicBlockIndex (NewPred) == -1 );
1779
- PN.addIncoming (UndefValue ::get (PN.getType ()), NewPred);
1779
+ PN.addIncoming (PoisonValue ::get (PN.getType ()), NewPred);
1780
1780
}
1781
1781
}
1782
1782
}
You can’t perform that action at this time.
0 commit comments