From: Matt Arsenault Date: Mon, 8 Dec 2014 19:55:43 +0000 (+0000) Subject: R600/SI: Move continue after checking s_mov_b32. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=dbd00bf51a938f5b1681b11ea667cf8027da5745;p=oota-llvm.git 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 --- diff --git a/lib/Target/R600/SIShrinkInstructions.cpp b/lib/Target/R600/SIShrinkInstructions.cpp index 45e83f54e7c..e97f9344187 100644 --- a/lib/Target/R600/SIShrinkInstructions.cpp +++ b/lib/Target/R600/SIShrinkInstructions.cpp @@ -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()))