Skip to content

Commit

Permalink
fix typo in setting arg-kind
Browse files Browse the repository at this point in the history
Change-Id: I90d575d612bb86ee594cde4e7fba42f80a03b291
  • Loading branch information
gangche1 committed Jul 18, 2019
1 parent 4993326 commit c106ded
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llvm/lib/Transforms/Scalar/CMTrans/CMImpParam.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,9 @@ struct CMImpParam : public ModulePass {
case llvm::Intrinsic::genx_get_scoreboard_deltas:
return KernelMetadata::AK_NORMAL | KernelMetadata::IMP_SB_DELTAS;
case llvm::Intrinsic::genx_get_scoreboard_bti:
return KernelMetadata::AK_NORMAL | KernelMetadata::IMP_SB_BTI;
return KernelMetadata::AK_SURFACE | KernelMetadata::IMP_SB_BTI;
case llvm::Intrinsic::genx_get_scoreboard_depcnt:
return KernelMetadata::AK_NORMAL | KernelMetadata::IMP_SB_DEPCNT;
return KernelMetadata::AK_SURFACE | KernelMetadata::IMP_SB_DEPCNT;
case llvm::Intrinsic::genx_local_id_x:
return KernelMetadata::AK_NORMAL | KernelMetadata::IMP_OCL_LOCAL_ID_X;
case llvm::Intrinsic::genx_local_id_y:
Expand Down

0 comments on commit c106ded

Please sign in to comment.