Mercurial > hg > Members > tobaru > cbc > CbC_llvm
diff lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp @ 33:e4204d083e25
LLVM 3.5
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 14:32:10 +0900 |
parents | 95c75e76d11b |
children | 54457678186b |
line wrap: on
line diff
--- a/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp Thu Dec 12 13:57:29 2013 +0900 +++ b/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp Thu Dec 12 14:32:10 2013 +0900 @@ -2014,7 +2014,7 @@ VTs = CurDAG->getVTList(EltVT, EltVT, MVT::Other, MVT::Glue); } else { EVT EVTs[] = { EltVT, EltVT, EltVT, EltVT, MVT::Other, MVT::Glue }; - VTs = CurDAG->getVTList(&EVTs[0], 5); + VTs = CurDAG->getVTList(&EVTs[0], array_lengthof(EVTs)); } unsigned OffsetVal = cast<ConstantSDNode>(Offset)->getZExtValue();