From da308c9a67d044bdba181b8564f4ecfd65b94b43 Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Thu, 16 Jul 2009 13:34:50 +0000 Subject: Add bunch of reg-imm movs git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75921 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/SystemZ/SystemZISelDAGToDAG.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/Target/SystemZ/SystemZISelDAGToDAG.cpp') diff --git a/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp b/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp index e4df02be06..a318536c06 100644 --- a/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp +++ b/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp @@ -56,6 +56,12 @@ namespace { return CurDAG->getTargetConstant(Imm, MVT::i16); } + /// getI32Imm - Return a target constant with the specified value, of type + /// i32. + inline SDValue getI32Imm(uint64_t Imm) { + return CurDAG->getTargetConstant(Imm, MVT::i32); + } + // Include the pieces autogenerated from the target description. #include "SystemZGenDAGISel.inc" -- cgit v1.2.3-70-g09d2