mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-27 07:12:06 +00:00
AMDGPU: Fix counting si_mask_branch as 4 bytes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285202 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f205f3b0f4
commit
44de456371
@ -3504,6 +3504,7 @@ unsigned SIInstrInfo::getInstSizeInBytes(const MachineInstr &MI) const {
|
||||
}
|
||||
|
||||
switch (Opc) {
|
||||
case AMDGPU::SI_MASK_BRANCH:
|
||||
case TargetOpcode::IMPLICIT_DEF:
|
||||
case TargetOpcode::KILL:
|
||||
case TargetOpcode::DBG_VALUE:
|
||||
|
@ -147,7 +147,6 @@ def SI_MASK_BRANCH : PseudoInstSI <
|
||||
let isBranch = 0;
|
||||
let isTerminator = 1;
|
||||
let isBarrier = 0;
|
||||
let SALU = 1;
|
||||
let Uses = [EXEC];
|
||||
let SchedRW = [];
|
||||
let hasNoSchedulingInfo = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user