[PATCH] [RFC][13/17]TILE-Gx: Old JIT support for tilegx

Jiong WANG wong.kwongyuan.llvm at gmail.com
Mon Mar 11 01:20:56 PDT 2013


tilegx do not support old jit current. TileRelocations.h is just a place holder. If our customer's solution depends on Old JIT, then we will support it.

---
Regards,
Jiong
Tilera Corporaiton

http://llvm-reviews.chandlerc.com/D523

Files:
  lib/Target/Tile/TileRelocations.h

Index: lib/Target/Tile/TileRelocations.h
===================================================================
--- /dev/null
+++ lib/Target/Tile/TileRelocations.h
@@ -0,0 +1,30 @@
+//===-- TileRelocations.h - Tile Code Relocations ---------------*- C++ -*-===//
+//
+//                     The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file defines the Tile target-specific relocation types
+// (for relocation-model=static).
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef TILERELOCATIONS_H_
+#define TILERELOCATIONS_H_
+
+#include "llvm/CodeGen/MachineRelocation.h"
+
+namespace llvm {
+  namespace Tile{
+    enum RelocationType {
+      // TBD: we will enlarge this enum when
+      // support old JIT.
+      reloc_tile_none = 1
+    };
+  }
+}
+
+#endif /* TILERELOCATIONS_H_ */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D523.1.patch
Type: text/x-patch
Size: 1038 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130311/087706c7/attachment.bin>


More information about the llvm-commits mailing list