Use 4-arg getVTList) variant instead of generic one, when possible
authorAnton Korobeynikov <asl@math.spbu.ru>
Sat, 19 Dec 2009 02:04:00 +0000 (02:04 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Sat, 19 Dec 2009 02:04:00 +0000 (02:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91744 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAG.cpp

index 1f827914c75a846d9bf0305ff67d6fbc3db95fae..b8d6edbbc13bd10ea24c8e58cf1e4d5f6763ac2e 100644 (file)
@@ -4251,6 +4251,7 @@ SDVTList SelectionDAG::getVTList(const EVT *VTs, unsigned NumVTs) {
     case 1: return getVTList(VTs[0]);
     case 2: return getVTList(VTs[0], VTs[1]);
     case 3: return getVTList(VTs[0], VTs[1], VTs[2]);
+    case 4: return getVTList(VTs[0], VTs[1], VTs[2], VTs[3]);
     default: break;
   }