Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Mikhail Lychkov <mikhail.lychkov@intel.com>
  • Loading branch information
sndmitriev and mlychkov committed Feb 16, 2022
1 parent f66adaa commit 741a2cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/SYCLLowerIR/ESIMD/LowerESIMD.cpp
Expand Up @@ -892,7 +892,7 @@ static void translateUnPackMask(CallInst &CI) {
// This function sets VCNamedBarrierCount attribute to set
// the number of named barriers required by a kernel
static void translateNbarrierInit(CallInst &CI) {
auto F = CI.getParent()->getParent();
auto *F = CI.getFunction();

auto *ArgV = CI.getArgOperand(0);
assert(isa<ConstantInt>(ArgV) &&
Expand Down

0 comments on commit 741a2cc

Please sign in to comment.