Skip to content

Commit 4899fda

Browse files
authored
[SYCL] Fix intel-fpga-ivdep-array regression. (#18785)
Re-add routine parameters lost during conflict resolution. * 0dcd674 - Merge from 'main' to 'sycl-web' (30 commits) Fixes test: * CLANG :: CodeGenSYCL/intel-fpga-ivdep-array.cpp
1 parent 9dd57e9 commit 4899fda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CodeGen/CGExpr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4637,7 +4637,7 @@ LValue CodeGenFunction::EmitArraySubscriptExpr(const ArraySubscriptExpr *E,
46374637
Addr = emitArraySubscriptGEP(*this, BaseAddr, Idx, E->getType(),
46384638
!getLangOpts().PointerOverflowDefined,
46394639
SignedIndices, E->getExprLoc(), &ptrType,
4640-
E->getBase());
4640+
E->getBase(), "arrayidx", PtrDecl);
46414641

46424642
if (SanOpts.has(SanitizerKind::ArrayBounds)) {
46434643
StructFieldAccess Visitor;

0 commit comments

Comments
 (0)