forked from OSchip/llvm-project
Fix unused variable warning without asserts
llvm-svn: 222017
This commit is contained in:
parent
8fbe439869
commit
6ad34266e3
|
@ -2184,6 +2184,8 @@ void SIInstrInfo::splitScalar64BitBFE(SmallVectorImpl<MachineInstr *> &Worklist,
|
|||
uint32_t Offset = Imm & 0x3f; // Extract bits [5:0].
|
||||
uint32_t BitWidth = (Imm & 0x7f0000) >> 16; // Extract bits [22:16].
|
||||
|
||||
(void) Offset;
|
||||
|
||||
// Only sext_inreg cases handled.
|
||||
assert(Inst->getOpcode() == AMDGPU::S_BFE_I64 &&
|
||||
BitWidth <= 32 &&
|
||||
|
|
Loading…
Reference in New Issue