diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-02-19 15:26:17 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-02-19 15:26:17 +0000 |
commit | ea68a944a1e92b619acececd66ca89d30cd59e4d (patch) | |
tree | e65fef3a8f95b33525a2449d4d0d7d5e590422b2 /llvm/lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp | |
parent | 2462a2f404b5042e7b997a48ad02099236e25dc2 (diff) | |
download | bcm5719-llvm-ea68a944a1e92b619acececd66ca89d30cd59e4d.tar.gz bcm5719-llvm-ea68a944a1e92b619acececd66ca89d30cd59e4d.zip |
Demote vectors to arrays. No functionality change.
llvm-svn: 229861
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp')
-rw-r--r-- | llvm/lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp b/llvm/lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp index b77a539ea04..12fc1981d7d 100644 --- a/llvm/lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp +++ b/llvm/lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp @@ -222,12 +222,9 @@ EmitTargetCodeForMemchr(SelectionDAG &DAG, SDLoc DL, SDValue Chain, // Now select between End and null, depending on whether the character // was found. - SmallVector<SDValue, 5> Ops; - Ops.push_back(End); - Ops.push_back(DAG.getConstant(0, PtrVT)); - Ops.push_back(DAG.getConstant(SystemZ::CCMASK_SRST, MVT::i32)); - Ops.push_back(DAG.getConstant(SystemZ::CCMASK_SRST_FOUND, MVT::i32)); - Ops.push_back(Glue); + SDValue Ops[] = {End, DAG.getConstant(0, PtrVT), + DAG.getConstant(SystemZ::CCMASK_SRST, MVT::i32), + DAG.getConstant(SystemZ::CCMASK_SRST_FOUND, MVT::i32), Glue}; VTs = DAG.getVTList(PtrVT, MVT::Glue); End = DAG.getNode(SystemZISD::SELECT_CCMASK, DL, VTs, Ops); return std::make_pair(End, Chain); |