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:
Matt Arsenault 2016-10-26 14:53:54 +00:00
parent f205f3b0f4
commit 44de456371
2 changed files with 1 additions and 1 deletions

View File

@ -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:

View File

@ -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;