mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-09 10:31:14 +00:00
Remove obsolete ARM intrinsics vclz and vcnt
Both of the intrinsics get autoupgraded to target independent intrinsics. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221396 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5563be0f4f
commit
36c4749c19
@ -341,10 +341,6 @@ def int_arm_neon_vqneg : Neon_1Arg_Intrinsic;
|
||||
|
||||
// Vector Count Leading Sign/Zero Bits.
|
||||
def int_arm_neon_vcls : Neon_1Arg_Intrinsic;
|
||||
def int_arm_neon_vclz : Neon_1Arg_Intrinsic;
|
||||
|
||||
// Vector Count One Bits.
|
||||
def int_arm_neon_vcnt : Neon_1Arg_Intrinsic;
|
||||
|
||||
// Vector Reciprocal Estimate.
|
||||
def int_arm_neon_vrecpe : Neon_1Arg_Intrinsic;
|
||||
|
@ -476,14 +476,6 @@ void llvm::UpgradeIntrinsicCall(CallInst *CI, Function *NewFn) {
|
||||
CI->eraseFromParent();
|
||||
return;
|
||||
|
||||
case Intrinsic::arm_neon_vclz: {
|
||||
// Change name from llvm.arm.neon.vclz.* to llvm.ctlz.*
|
||||
CI->replaceAllUsesWith(Builder.CreateCall2(NewFn, CI->getArgOperand(0),
|
||||
Builder.getFalse(),
|
||||
"llvm.ctlz." + Name.substr(14)));
|
||||
CI->eraseFromParent();
|
||||
return;
|
||||
}
|
||||
case Intrinsic::ctpop: {
|
||||
CI->replaceAllUsesWith(Builder.CreateCall(NewFn, CI->getArgOperand(0)));
|
||||
CI->eraseFromParent();
|
||||
|
Loading…
Reference in New Issue
Block a user