From e13359732addeaa2682aaf96e293d6d8c4f8b36c Mon Sep 17 00:00:00 2001 From: David Greene Date: Tue, 25 Jan 2011 22:05:41 +0000 Subject: [PATCH] [AVX] Fix a typo in the extract subvector type constraints to specify the correct number of operands. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124234 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Target/TargetSelectionDAG.td | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/llvm/Target/TargetSelectionDAG.td b/include/llvm/Target/TargetSelectionDAG.td index 7119e013a76..81ce7d97efc 100644 --- a/include/llvm/Target/TargetSelectionDAG.td +++ b/include/llvm/Target/TargetSelectionDAG.td @@ -190,10 +190,10 @@ def SDTVecInsert : SDTypeProfile<1, 3, [ // vector insert SDTCisEltOfVec<2, 1>, SDTCisSameAs<0, 1>, SDTCisPtrTy<3> ]>; -def SDTSubVecExtract : SDTypeProfile<1, 1, [// subvector extract +def SDTSubVecExtract : SDTypeProfile<1, 2, [// subvector extract SDTCisSubVecOfVec<0,1> ]>; -def SDTSubVecInsert : SDTypeProfile<1, 2, [ // subvector insert +def SDTSubVecInsert : SDTypeProfile<1, 3, [ // subvector insert SDTCisSubVecOfVec<2, 1>, SDTCisSameAs<0,1> ]>; -- 2.34.1