Skip to content

Commit c5aa9b6

Browse files
preamestopperc
andauthored
Update llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Co-authored-by: Craig Topper <[email protected]>
1 parent 6cf9f3f commit c5aa9b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4336,7 +4336,7 @@ void SelectionDAGBuilder::visitGetElementPtr(const User &I) {
43364336
auto &TLI = DAG.getTargetLoweringInfo();
43374337
GEPNoWrapFlags NW = cast<GEPOperator>(I).getNoWrapFlags();
43384338

4339-
// For a vector GEP, keep the prefix scalar as long as possible, than
4339+
// For a vector GEP, keep the prefix scalar as long as possible, then
43404340
// convert any scalars encountered after the first vector operand to vectors.
43414341
bool IsVectorGEP = I.getType()->isVectorTy();
43424342
ElementCount VectorElementCount =

0 commit comments

Comments
 (0)