Skip to content

Commit ae87e3b

Browse files
lukel97dtcxzyw
andauthored
Update llvm/include/llvm/IR/PatternMatch.h
Co-authored-by: Yingwei Zheng <[email protected]>
1 parent 0de7c62 commit ae87e3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/IR/PatternMatch.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,7 @@ struct immconstant_ty {
867867
return true;
868868

869869
if (CV->getType()->isVectorTy()) {
870-
if (auto *Splat = CV->getSplatValue(/* AllowPoison */ true)) {
870+
if (auto *Splat = CV->getSplatValue(/*AllowPoison=*/true)) {
871871
if (!isa<ConstantExpr>(Splat) &&
872872
!Splat->containsConstantExpression()) {
873873
return true;

0 commit comments

Comments
 (0)