[llvm] f2942f9 - GlobalISel: Add node mappings for frameindex/blockaddress
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 4 12:13:57 PDT 2020
Author: Matt Arsenault
Date: 2020-08-04T15:13:49-04:00
New Revision: f2942f9c26a39340f8604857c7c90e6ade02a381
URL: https://github.com/llvm/llvm-project/commit/f2942f9c26a39340f8604857c7c90e6ade02a381
DIFF: https://github.com/llvm/llvm-project/commit/f2942f9c26a39340f8604857c7c90e6ade02a381.diff
LOG: GlobalISel: Add node mappings for frameindex/blockaddress
Added:
Modified:
llvm/include/llvm/Target/GlobalISel/SelectionDAGCompat.td
Removed:
################################################################################
diff --git a/llvm/include/llvm/Target/GlobalISel/SelectionDAGCompat.td b/llvm/include/llvm/Target/GlobalISel/SelectionDAGCompat.td
index d3ca771ad3ad..3bf9e63f29f3 100644
--- a/llvm/include/llvm/Target/GlobalISel/SelectionDAGCompat.td
+++ b/llvm/include/llvm/Target/GlobalISel/SelectionDAGCompat.td
@@ -52,6 +52,8 @@ def : GINodeEquiv<G_BITCAST, bitconvert>;
def : GINodeEquiv<G_CONSTANT, imm>;
def : GINodeEquiv<G_FCONSTANT, fpimm>;
def : GINodeEquiv<G_IMPLICIT_DEF, undef>;
+def : GINodeEquiv<G_FRAME_INDEX, frameindex>;
+def : GINodeEquiv<G_BLOCK_ADDR, blockaddress>;
def : GINodeEquiv<G_ADD, add>;
def : GINodeEquiv<G_SUB, sub>;
def : GINodeEquiv<G_MUL, mul>;
More information about the llvm-commits
mailing list