mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-17 15:38:40 +00:00
prevent DCE of vaarg intrinsics. This should take care of most regressions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22263 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
017fba9d0f
commit
94cd87f658
@ -381,8 +381,6 @@ bool llvm::isInstructionTriviallyDead(Instruction *I) {
|
|||||||
if (Function *F = CI->getCalledFunction())
|
if (Function *F = CI->getCalledFunction())
|
||||||
switch (F->getIntrinsicID()) {
|
switch (F->getIntrinsicID()) {
|
||||||
default: break;
|
default: break;
|
||||||
case Intrinsic::vastart:
|
|
||||||
case Intrinsic::vacopy:
|
|
||||||
case Intrinsic::returnaddress:
|
case Intrinsic::returnaddress:
|
||||||
case Intrinsic::frameaddress:
|
case Intrinsic::frameaddress:
|
||||||
case Intrinsic::isunordered:
|
case Intrinsic::isunordered:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user