Skip to content

Commit b159631

Browse files
committed
AMDGPU: Replace constexpr with inline
One bot doesn't like this constexpr after d748468
1 parent dd5eb46 commit b159631

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1595,7 +1595,7 @@ constexpr bool isSISrcOperand(const MCOperandInfo &OpInfo) {
15951595
OpInfo.OperandType <= AMDGPU::OPERAND_SRC_LAST;
15961596
}
15971597

1598-
constexpr bool isSISrcOperand(const MCInstrDesc &Desc, unsigned OpNo) {
1598+
inline bool isSISrcOperand(const MCInstrDesc &Desc, unsigned OpNo) {
15991599
return isSISrcOperand(Desc.operands()[OpNo]);
16001600
}
16011601

0 commit comments

Comments
 (0)