mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-28 14:46:39 +00:00
AMDGPU: Remove incorrect assertion
I'm still not sure under what circumstances the offset here is non-0, but private memory is not limited to 27-bits. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272337 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dad6f6f388
commit
3b52126962
@ -277,10 +277,6 @@ void SIRegisterInfo::materializeFrameBaseRegister(MachineBasicBlock *MBB,
|
||||
const AMDGPUSubtarget &Subtarget = MF->getSubtarget<AMDGPUSubtarget>();
|
||||
const TargetInstrInfo *TII = Subtarget.getInstrInfo();
|
||||
|
||||
assert(isUInt<27>(Offset) &&
|
||||
"Private offset should never exceed maximum private size");
|
||||
|
||||
|
||||
if (Offset == 0) {
|
||||
BuildMI(*MBB, Ins, DL, TII->get(AMDGPU::V_MOV_B32_e32), BaseReg)
|
||||
.addFrameIndex(FrameIdx);
|
||||
|
Loading…
x
Reference in New Issue
Block a user