mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-27 05:55:40 +00:00
Zap dead code.
llvm-svn: 112955
This commit is contained in:
parent
c6aaa8bfbf
commit
dfccb1503c
@ -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