[llvm] 52aaf4a - [X86] Use SDNPOptInGlue instead of SDNPInGlue on a couple SDNodes.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 12 21:25:22 PST 2020
Author: Craig Topper
Date: 2020-01-12T21:11:18-08:00
New Revision: 52aaf4a27576607dfc0833f5f88e5a15a30ceadb
URL: https://github.com/llvm/llvm-project/commit/52aaf4a27576607dfc0833f5f88e5a15a30ceadb
DIFF: https://github.com/llvm/llvm-project/commit/52aaf4a27576607dfc0833f5f88e5a15a30ceadb.diff
LOG: [X86] Use SDNPOptInGlue instead of SDNPInGlue on a couple SDNodes.
At least one of these is used without a Glue. This doesn't seem
to change the X86GenDAGISel.inc output so maybe it doesn't matter?
Added:
Modified:
llvm/lib/Target/X86/X86InstrFPStack.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/X86/X86InstrFPStack.td b/llvm/lib/Target/X86/X86InstrFPStack.td
index 2cdf2ae15ce4..1830262205c6 100644
--- a/llvm/lib/Target/X86/X86InstrFPStack.td
+++ b/llvm/lib/Target/X86/X86InstrFPStack.td
@@ -29,7 +29,7 @@ def SDTX86CwdStore : SDTypeProfile<0, 1, [SDTCisPtrTy<0>]>;
def X86fld : SDNode<"X86ISD::FLD", SDTX86Fld,
[SDNPHasChain, SDNPMayLoad, SDNPMemOperand]>;
def X86fst : SDNode<"X86ISD::FST", SDTX86Fst,
- [SDNPHasChain, SDNPInGlue, SDNPMayStore,
+ [SDNPHasChain, SDNPOptInGlue, SDNPMayStore,
SDNPMemOperand]>;
def X86fild : SDNode<"X86ISD::FILD", SDTX86Fild,
[SDNPHasChain, SDNPMayLoad, SDNPMemOperand]>;
@@ -37,7 +37,7 @@ def X86fildflag : SDNode<"X86ISD::FILD_FLAG", SDTX86Fild,
[SDNPHasChain, SDNPOutGlue, SDNPMayLoad,
SDNPMemOperand]>;
def X86fist : SDNode<"X86ISD::FIST", SDTX86Fist,
- [SDNPHasChain, SDNPInGlue, SDNPMayStore,
+ [SDNPHasChain, SDNPOptInGlue, SDNPMayStore,
SDNPMemOperand]>;
def X86fp_stsw : SDNode<"X86ISD::FNSTSW16r", SDTX86Fnstsw>;
def X86fp_to_mem : SDNode<"X86ISD::FP_TO_INT_IN_MEM", SDTX86Fst,
More information about the llvm-commits
mailing list