Skip to content

Commit 5a97628

Browse files
committed
Use SmallVector instead of std::vector.
1 parent 9a3c012 commit 5a97628

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CodeGen/CGHLSLRuntime.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ void CGHLSLRuntime::generateGlobalCtorDtorCalls() {
482482
auto *Token = getConvergenceToken(F.getEntryBlock());
483483
Instruction *IP = Token ? Token : &*F.getEntryBlock().begin();
484484
IRBuilder<> B(IP);
485-
std::vector<OperandBundleDef> OB;
485+
SmallVector<OperandBundleDef, 1> OB;
486486
if (Token) {
487487
llvm::Value *bundleArgs[] = {Token};
488488
OB.emplace_back("convergencectrl", bundleArgs);

0 commit comments

Comments
 (0)