mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 20:29:53 +00:00
Fix unused variable warning without asserts
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222017 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
01213b1132
commit
3dd7f8668b
@ -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
Block a user