mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-21 21:41:43 +00:00
R600/SI: Move continue after checking s_mov_b32.
There's nothing else to bother trying to shrink these. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223686 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8eef439528
commit
dbd00bf51a
@ -195,11 +195,11 @@ bool SIShrinkInstructions::runOnMachineFunction(MachineFunction &MF) {
|
||||
|
||||
// TODO: Handle FPImm?
|
||||
if (Src.isImm()) {
|
||||
if (isInt<16>(Src.getImm()) && !TII->isInlineConstant(Src)) {
|
||||
if (isInt<16>(Src.getImm()) && !TII->isInlineConstant(Src))
|
||||
MI.setDesc(TII->get(AMDGPU::S_MOVK_I32));
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!TII->hasVALU32BitEncoding(MI.getOpcode()))
|
||||
|
Loading…
x
Reference in New Issue
Block a user