Skip to content

Commit 1a2a58f

Browse files
krzysiek358igcbot
authored andcommitted
Dead code removal
Dead code removal
1 parent f7848c8 commit 1a2a58f

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

IGC/Compiler/Optimizer/Scalarizer.h

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -249,19 +249,6 @@ namespace IGC
249249
} DRLEntry;
250250
llvm::SmallVector<DRLEntry, 4> m_DRL;
251251

252-
/*! \name Pre-Scalarization function arguments scan
253-
* \{ */
254-
255-
/// @brief Data structure for holding "real" inputs/output of function call
256-
// first - arguments of function
257-
// second - retuns of function. There may be more than one return value, e.g. sincos
258-
typedef std::pair< llvm::SmallVector<llvm::Value*, 4>, llvm::SmallVector<llvm::Value*, 4> > funcRootsVect;
259-
/// @brief Some getters which access funcRootsVect and make the code more readable
260-
static llvm::SmallVectorImpl<llvm::Value*>& getReturns(funcRootsVect& FRV) { return FRV.second; }
261-
static const llvm::SmallVectorImpl<llvm::Value*>& getReturns(const funcRootsVect& FRV) { return FRV.second; }
262-
static llvm::SmallVectorImpl<llvm::Value*>& getArgs(funcRootsVect& FRV) { return FRV.first; }
263-
static const llvm::SmallVectorImpl<llvm::Value*>& getArgs(const funcRootsVect& FRV) { return FRV.first; }
264-
265252
/// @brief flag for selective scalarization
266253
bool m_SelectiveScalarization;
267254

0 commit comments

Comments
 (0)