From d9af71b57472f0124fec34aa15fde5e3fa93f881 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Mon, 4 May 2015 17:39:40 +0000 Subject: [PATCH] [SystemZ] Fix getTargetNodeName It seems SystemZTargetLowering::getTargetNodeName got out of sync with some recent changes to the SystemZISD opcode list. Add back all the missing opcodes (and re-sort to the same order as SystemISelLowering.h). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236430 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/SystemZ/SystemZISelLowering.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/Target/SystemZ/SystemZISelLowering.cpp b/lib/Target/SystemZ/SystemZISelLowering.cpp index b1036a2e473..78ac07623ba 100644 --- a/lib/Target/SystemZ/SystemZISelLowering.cpp +++ b/lib/Target/SystemZ/SystemZISelLowering.cpp @@ -2784,6 +2784,8 @@ const char *SystemZTargetLowering::getTargetNodeName(unsigned Opcode) const { OPCODE(RET_FLAG); OPCODE(CALL); OPCODE(SIBCALL); + OPCODE(TLS_GDCALL); + OPCODE(TLS_LDCALL); OPCODE(PCREL_WRAPPER); OPCODE(PCREL_OFFSET); OPCODE(IABS); @@ -2794,7 +2796,9 @@ const char *SystemZTargetLowering::getTargetNodeName(unsigned Opcode) const { OPCODE(SELECT_CCMASK); OPCODE(ADJDYNALLOC); OPCODE(EXTRACT_ACCESS); + OPCODE(POPCNT); OPCODE(UMUL_LOHI64); + OPCODE(SDIVREM32); OPCODE(SDIVREM64); OPCODE(UDIVREM32); OPCODE(UDIVREM64); @@ -2808,8 +2812,8 @@ const char *SystemZTargetLowering::getTargetNodeName(unsigned Opcode) const { OPCODE(XC_LOOP); OPCODE(CLC); OPCODE(CLC_LOOP); - OPCODE(STRCMP); OPCODE(STPCPY); + OPCODE(STRCMP); OPCODE(SEARCH_STRING); OPCODE(IPM); OPCODE(SERIALIZE); -- 2.34.1