Skip to content

Commit f1a94b4

Browse files
committed
Address PR comments
- Remove [[maybe_unused]] from selectExtInst - Remove redundant include
1 parent c0f9fa3 commit f1a94b4

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
#include "llvm/IR/IntrinsicsSPIRV.h"
3535
#include "llvm/Support/Debug.h"
3636
#include "llvm/Support/ErrorHandling.h"
37-
#include "llvm/Support/raw_ostream.h"
3837

3938
#define DEBUG_TYPE "spirv-isel"
4039

@@ -271,10 +270,8 @@ class SPIRVInstructionSelector : public InstructionSelector {
271270
bool selectPhi(Register ResVReg, const SPIRVType *ResType,
272271
MachineInstr &I) const;
273272

274-
[[maybe_unused]] bool selectExtInst(Register ResVReg,
275-
const SPIRVType *RestType,
276-
MachineInstr &I,
277-
GL::GLSLExtInst GLInst) const;
273+
bool selectExtInst(Register ResVReg, const SPIRVType *RestType,
274+
MachineInstr &I, GL::GLSLExtInst GLInst) const;
278275
bool selectExtInst(Register ResVReg, const SPIRVType *ResType,
279276
MachineInstr &I, CL::OpenCLExtInst CLInst) const;
280277
bool selectExtInst(Register ResVReg, const SPIRVType *ResType,

0 commit comments

Comments
 (0)