Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion llvm/lib/SYCLLowerIR/CompileTimePropertiesPass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ void CompileTimePropertiesPass::parseAlignmentAndApply(

auto Align_val = Align(AttrVal);
// apply alignment attributes to load/store
for (auto Pair : TargetedInstList) {
for (const auto &Pair : TargetedInstList) {
auto *Inst = Pair.first;
auto Op_num = Pair.second;
if (auto *LInst = dyn_cast<LoadInst>(Inst)) {
Expand Down