[llvm] r293009 - [GlobalISel] Rename TargetGlobalISel.td to GISel/SelectionDAGCompat.td
Ahmed Bougacha via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 24 18:41:26 PST 2017
Author: ab
Date: Tue Jan 24 20:41:26 2017
New Revision: 293009
URL: http://llvm.org/viewvc/llvm-project?rev=293009&view=rev
Log:
[GlobalISel] Rename TargetGlobalISel.td to GISel/SelectionDAGCompat.td
Added:
llvm/trunk/include/llvm/Target/GlobalISel/SelectionDAGCompat.td
- copied, changed from r293000, llvm/trunk/include/llvm/Target/TargetGlobalISel.td
Removed:
llvm/trunk/include/llvm/Target/TargetGlobalISel.td
Modified:
llvm/trunk/include/llvm/Target/Target.td
Copied: llvm/trunk/include/llvm/Target/GlobalISel/SelectionDAGCompat.td (from r293000, llvm/trunk/include/llvm/Target/TargetGlobalISel.td)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/GlobalISel/SelectionDAGCompat.td?p2=llvm/trunk/include/llvm/Target/GlobalISel/SelectionDAGCompat.td&p1=llvm/trunk/include/llvm/Target/TargetGlobalISel.td&r1=293000&r2=293009&rev=293009&view=diff
==============================================================================
(empty)
Modified: llvm/trunk/include/llvm/Target/Target.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/Target.td?rev=293009&r1=293008&r2=293009&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/Target.td (original)
+++ llvm/trunk/include/llvm/Target/Target.td Tue Jan 24 20:41:26 2017
@@ -1342,7 +1342,11 @@ include "llvm/Target/TargetCallingConv.t
include "llvm/Target/TargetSelectionDAG.td"
//===----------------------------------------------------------------------===//
-// Pull in the common support for Global ISel generation.
+// Pull in the common support for Global ISel register bank info generation.
//
include "llvm/Target/GlobalISel/RegisterBank.td"
-include "llvm/Target/TargetGlobalISel.td"
+
+//===----------------------------------------------------------------------===//
+// Pull in the common support for the Global ISel DAG-based selector generation.
+//
+include "llvm/Target/GlobalISel/SelectionDAGCompat.td"
Removed: llvm/trunk/include/llvm/Target/TargetGlobalISel.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetGlobalISel.td?rev=293008&view=auto
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetGlobalISel.td (original)
+++ llvm/trunk/include/llvm/Target/TargetGlobalISel.td (removed)
@@ -1,29 +0,0 @@
-//===- TargetGlobalISel.td - Common code for GlobalISel ----*- tablegen -*-===//
-//
-// 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 target-independent interfaces used to support
-// SelectionDAG instruction selection patterns (specified in
-// TargetSelectionDAG.td) when generating GlobalISel instruction selectors.
-//
-// This is intended as a compatibility layer, to enable reuse of target
-// descriptions written for SelectionDAG without requiring explicit GlobalISel
-// support. It will eventually supersede SelectionDAG patterns.
-//
-//===----------------------------------------------------------------------===//
-
-// Declare that a generic Instruction is 'equivalent' to an SDNode, that is,
-// SelectionDAG patterns involving the SDNode can be transformed to match the
-// Instruction instead.
-class GINodeEquiv<Instruction i, SDNode node> {
- Instruction I = i;
- SDNode Node = node;
-}
-
-def : GINodeEquiv<G_ADD, add>;
-def : GINodeEquiv<G_BR, br>;
More information about the llvm-commits
mailing list