Skip to content

Commit a4bfc4f

Browse files
arsenmgithub-actions[bot]
authored andcommitted
Automerge: AMDGPU: Replace constexpr with inline
One bot doesn't like this constexpr after d748468
2 parents ad27897 + b159631 commit a4bfc4f

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)