[PATCH] D41671: [X86] Remove useless custom inserter for 64-bit TAILJMP and TCRETURN opcodes
Phabricator via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 3 10:22:03 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL321747: [X86] Remove useless custom inserter for 64-bit TAILJMP and TCRETURN opcodes (authored by ctopper, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D41671?vs=128434&id=128537#toc
Repository:
rL LLVM
https://reviews.llvm.org/D41671
Files:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
llvm/trunk/lib/Target/X86/X86InstrControl.td
Index: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
===================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
@@ -27551,16 +27551,6 @@
switch (MI.getOpcode()) {
default: llvm_unreachable("Unexpected instr type to insert");
- case X86::TAILJMPd64:
- case X86::TAILJMPr64:
- case X86::TAILJMPm64:
- case X86::TAILJMPr64_REX:
- case X86::TAILJMPm64_REX:
- llvm_unreachable("TAILJMP64 would not be touched here.");
- case X86::TCRETURNdi64:
- case X86::TCRETURNri64:
- case X86::TCRETURNmi64:
- return BB;
case X86::TLS_addr32:
case X86::TLS_addr64:
case X86::TLS_base_addr32:
Index: llvm/trunk/lib/Target/X86/X86InstrControl.td
===================================================================
--- llvm/trunk/lib/Target/X86/X86InstrControl.td
+++ llvm/trunk/lib/Target/X86/X86InstrControl.td
@@ -309,8 +309,7 @@
}
let isCall = 1, isTerminator = 1, isReturn = 1, isBarrier = 1,
- isCodeGenOnly = 1, Uses = [RSP, SSP], usesCustomInserter = 1,
- SchedRW = [WriteJump] in {
+ isCodeGenOnly = 1, Uses = [RSP, SSP], SchedRW = [WriteJump] in {
def TCRETURNdi64 : PseudoI<(outs),
(ins i64i32imm_pcrel:$dst, i32imm:$offset),
[]>;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41671.128537.patch
Type: text/x-patch
Size: 1330 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180103/b6c808b5/attachment.bin>
More information about the llvm-commits
mailing list