forked from OSchip/llvm-project
parent
24a1273ae1
commit
1b5f1cfdb4
|
@ -183,16 +183,6 @@ namespace {
|
||||||
|
|
||||||
void PreprocessISelDAG() override;
|
void PreprocessISelDAG() override;
|
||||||
|
|
||||||
inline bool immSext8(SDNode *N) const {
|
|
||||||
return isInt<8>(cast<ConstantSDNode>(N)->getSExtValue());
|
|
||||||
}
|
|
||||||
|
|
||||||
// True if the 64-bit immediate fits in a 32-bit sign-extended field.
|
|
||||||
inline bool i64immSExt32(SDNode *N) const {
|
|
||||||
uint64_t v = cast<ConstantSDNode>(N)->getZExtValue();
|
|
||||||
return (int64_t)v == (int32_t)v;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Include the pieces autogenerated from the target description.
|
// Include the pieces autogenerated from the target description.
|
||||||
#include "X86GenDAGISel.inc"
|
#include "X86GenDAGISel.inc"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue