Skip to content

Commit 8e944dd

Browse files
committed
Update tests
Created using spr 1.3.5
2 parents 5ad296c + 5e8bff2 commit 8e944dd

File tree

3 files changed

+288
-143
lines changed

3 files changed

+288
-143
lines changed

llvm/lib/Target/Sparc/SparcISelLowering.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#include "llvm/CodeGen/MachineRegisterInfo.h"
2828
#include "llvm/CodeGen/SelectionDAG.h"
2929
#include "llvm/CodeGen/SelectionDAGNodes.h"
30+
#include "llvm/CodeGen/TargetLowering.h"
3031
#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
3132
#include "llvm/IR/DerivedTypes.h"
3233
#include "llvm/IR/DiagnosticInfo.h"

llvm/lib/Target/Sparc/SparcInstrVIS.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,8 @@ def XMULXHI : VISInst<0b100010110, "xmulxhi", I64Regs>;
279279
} // Predicates = [IsVIS3]
280280

281281
// FP immediate patterns.
282-
def fpimm0 : PatLeaf<(fpimm), [{return N->isExactlyValue(+0.0);}]>;
283-
def fpnegimm0 : PatLeaf<(fpimm), [{return N->isExactlyValue(-0.0);}]>;
282+
def fpimm0 : FPImmLeaf<fAny, [{return Imm.isExactlyValue(+0.0);}]>;
283+
def fpnegimm0 : FPImmLeaf<fAny, [{return Imm.isExactlyValue(-0.0);}]>;
284284

285285
// VIS instruction patterns.
286286
let Predicates = [HasVIS] in {

0 commit comments

Comments
 (0)