File tree 4 files changed +1
-34
lines changed
4 files changed +1
-34
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,6 @@ cmp+sel to avoid expensive VxH mov.
63
63
#include " common/IGCConstantFolder.h"
64
64
#include " common/LLVMWarningsPush.hpp"
65
65
#include " llvm/Config/llvm-config.h"
66
- #include " WrapperLLVM/Utils.h"
67
66
#include " llvmWrapper/IR/IntrinsicInst.h"
68
67
#include < llvmWrapper/IR/DIBuilder.h>
69
68
#include < llvmWrapper/IR/DerivedTypes.h>
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ SPDX-License-Identifier: MIT
15
15
16
16
#include " common/LLVMWarningsPush.hpp"
17
17
#include " llvm/Config/llvm-config.h"
18
- #include " WrapperLLVM/Utils.h"
19
18
20
19
#include " llvm/Analysis/CodeMetrics.h"
21
20
#include " llvm/Analysis/LoopInfo.h"
@@ -304,7 +303,7 @@ namespace llvm {
304
303
if (!ExitingBlock || !L->isLoopExiting (ExitingBlock))
305
304
ExitingBlock = L->getExitingBlock ();
306
305
if (ExitingBlock)
307
- TripCount = IGCLLVM::getref (SE) .getSmallConstantTripCount (L, ExitingBlock);
306
+ TripCount = SE .getSmallConstantTripCount (L, ExitingBlock);
308
307
309
308
// Do not enable partial unrolling if the loop counter is float. It can cause precision issue.
310
309
if (ExitingBlock) {
Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ set(IGC_BUILD__PROJ__WrapperLLVM "${IGC_BUILD__PROJ_NAME_PREFIX}WrapperLLV
10
10
set (IGC_BUILD__PROJ__WrapperLLVM "${IGC_BUILD__PROJ__WrapperLLVM} " PARENT_SCOPE)
11
11
12
12
set (IGC_WrapperLLVM_HDR
13
- "${CMAKE_CURRENT_SOURCE_DIR} /Utils.h"
14
-
15
13
"${CMAKE_CURRENT_SOURCE_DIR} /include/llvmWrapper/ADT/APInt.h"
16
14
"${CMAKE_CURRENT_SOURCE_DIR} /include/llvmWrapper/ADT/Optional.h"
17
15
"${CMAKE_CURRENT_SOURCE_DIR} /include/llvmWrapper/ADT/STLExtras.h"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments