diff options
author | Chris Lattner <sabre@nondot.org> | 2010-03-28 07:38:39 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-03-28 07:38:39 +0000 |
commit | ed52c8f5f44edd8e6c37f12dac3e2596bab447c5 (patch) | |
tree | 11f72c31191eac4d7b931437ed7200be78725831 | |
parent | b616c6a25dd162b8e9d8b88da566171b7478a322 (diff) |
revert r99743, this is saying that the repmovs instructinos have an
*input* of other type, which is the VT.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99749 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/X86InstrInfo.td | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td index d6546ebf75..8fccc8a37a 100644 --- a/lib/Target/X86/X86InstrInfo.td +++ b/lib/Target/X86/X86InstrInfo.td @@ -64,6 +64,8 @@ def SDT_X86VASTART_SAVE_XMM_REGS : SDTypeProfile<0, -1, [SDTCisVT<0, i8>, SDTCisVT<1, iPTR>, SDTCisVT<2, iPTR>]>; +def SDTX86RepStr : SDTypeProfile<0, 1, [SDTCisVT<0, OtherVT>]>; + def SDTX86Void : SDTypeProfile<0, 0, []>; def SDTX86Wrapper : SDTypeProfile<1, 1, [SDTCisSameAs<0, 1>, SDTCisPtrTy<0>]>; @@ -136,9 +138,9 @@ def X86call : SDNode<"X86ISD::CALL", SDT_X86Call, [SDNPHasChain, SDNPOutFlag, SDNPOptInFlag, SDNPVariadic]>; -def X86rep_stos: SDNode<"X86ISD::REP_STOS", SDTX86Void, +def X86rep_stos: SDNode<"X86ISD::REP_STOS", SDTX86RepStr, [SDNPHasChain, SDNPInFlag, SDNPOutFlag, SDNPMayStore]>; -def X86rep_movs: SDNode<"X86ISD::REP_MOVS", SDTX86Void, +def X86rep_movs: SDNode<"X86ISD::REP_MOVS", SDTX86RepStr, [SDNPHasChain, SDNPInFlag, SDNPOutFlag, SDNPMayStore, SDNPMayLoad]>; |