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 9dedea2 commit 3b07f30Copy full SHA for 3b07f30
llvm/lib/SYCLLowerIR/MutatePrintfAddrspace.cpp
@@ -162,7 +162,7 @@ Value *stripToMemorySource(Value *V) {
162
Value *LoadSource = LI->getPointerOperand();
163
auto Users = LoadSource->users();
164
auto I = llvm::find_if(Users, [](User *U) { return isa<StoreInst>(U); });
165
- if (I!=std::end(Users)) {
+ if (I!=Users.end()) {
166
auto *Store = cast<StoreInst>(*I);
167
MemoryAccess = Store->getValueOperand();
168
}
0 commit comments