Skip to content

Commit 5b2a971

Browse files
Remove redundant llvm::
1 parent 7029b6f commit 5b2a971

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2917,8 +2917,8 @@ OpenMPIRBuilder::InsertPointTy OpenMPIRBuilder::applyWorkshareLoopTarget(
29172917

29182918
OpenMPIRBuilder::InsertPointTy OpenMPIRBuilder::applyWorkshareLoop(
29192919
DebugLoc DL, CanonicalLoopInfo *CLI, InsertPointTy AllocaIP,
2920-
bool NeedsBarrier, llvm::omp::ScheduleKind SchedKind,
2921-
llvm::Value *ChunkSize, bool HasSimdModifier, bool HasMonotonicModifier,
2920+
bool NeedsBarrier, omp::ScheduleKind SchedKind, Value *ChunkSize,
2921+
bool HasSimdModifier, bool HasMonotonicModifier,
29222922
bool HasNonmonotonicModifier, bool HasOrderedClause,
29232923
OpenMPIRBuilder::WorksharingLoopType LoopType) {
29242924
if (Config.isTargetDevice())

llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2246,7 +2246,7 @@ TEST_F(OpenMPIRBuilderTest, StaticWorkshareLoopTarget) {
22462246
Value *StartVal = ConstantInt::get(LCTy, 10);
22472247
Value *StopVal = ConstantInt::get(LCTy, 52);
22482248
Value *StepVal = ConstantInt::get(LCTy, 2);
2249-
auto LoopBodyGen = [&](InsertPointTy, llvm::Value *) {};
2249+
auto LoopBodyGen = [&](InsertPointTy, Value *) {};
22502250

22512251
CanonicalLoopInfo *CLI = OMPBuilder.createCanonicalLoop(
22522252
Loc, LoopBodyGen, StartVal, StopVal, StepVal, false, false);

0 commit comments

Comments
 (0)