mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-25 16:29:20 +00:00
Zap dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112955 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
41d0a7705b
commit
df3f25656d
@ -39,13 +39,6 @@
|
||||
using namespace llvm;
|
||||
|
||||
namespace {
|
||||
//! ConstantSDNode predicate for i32 sign-extended, 10-bit immediates
|
||||
bool
|
||||
isI64IntS10Immediate(ConstantSDNode *CN)
|
||||
{
|
||||
return isInt<10>(CN->getSExtValue());
|
||||
}
|
||||
|
||||
//! ConstantSDNode predicate for i32 sign-extended, 10-bit immediates
|
||||
bool
|
||||
isI32IntS10Immediate(ConstantSDNode *CN)
|
||||
|
@ -98,12 +98,6 @@ def immU8 : PatLeaf<(imm), [{
|
||||
return (N->getZExtValue() <= 0xff);
|
||||
}]>;
|
||||
|
||||
// i64ImmSExt10 predicate - True if the i64 immediate fits in a 10-bit sign
|
||||
// extended field. Used by RI10Form instructions like 'ldq'.
|
||||
def i64ImmSExt10 : PatLeaf<(imm), [{
|
||||
return isI64IntS10Immediate(N);
|
||||
}]>;
|
||||
|
||||
// i32ImmSExt10 predicate - True if the i32 immediate fits in a 10-bit sign
|
||||
// extended field. Used by RI10Form instructions like 'ldq'.
|
||||
def i32ImmSExt10 : PatLeaf<(imm), [{
|
||||
|
Loading…
Reference in New Issue
Block a user