mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-12 18:33:22 +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;
|
using namespace llvm;
|
||||||
|
|
||||||
namespace {
|
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
|
//! ConstantSDNode predicate for i32 sign-extended, 10-bit immediates
|
||||||
bool
|
bool
|
||||||
isI32IntS10Immediate(ConstantSDNode *CN)
|
isI32IntS10Immediate(ConstantSDNode *CN)
|
||||||
|
@ -98,12 +98,6 @@ def immU8 : PatLeaf<(imm), [{
|
|||||||
return (N->getZExtValue() <= 0xff);
|
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
|
// i32ImmSExt10 predicate - True if the i32 immediate fits in a 10-bit sign
|
||||||
// extended field. Used by RI10Form instructions like 'ldq'.
|
// extended field. Used by RI10Form instructions like 'ldq'.
|
||||||
def i32ImmSExt10 : PatLeaf<(imm), [{
|
def i32ImmSExt10 : PatLeaf<(imm), [{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user