We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9983107 commit a07bf80Copy full SHA for a07bf80
clang/lib/CodeGen/CGDecl.cpp
@@ -1598,7 +1598,7 @@ CodeGenFunction::EmitAutoVarAlloca(const VarDecl &D) {
1598
assert(!emission.useLifetimeMarkers());
1599
}
1600
if ((allocaTy->isIntegerTy() || allocaTy->isFloatingPointTy() ||
1601
- allocaTy->isPointerTy()) &&
+ allocaTy->isPointerTy() || allocaTy->isVectorTy()) &&
1602
HaveInsertPoint()) {
1603
auto Freeze = Builder.CreateFreeze(llvm::PoisonValue::get(allocaTy),
1604
"freeze.poison");
0 commit comments