OSDN Git Service

AMDGPU/SI: Move post regalloc run of SIShrinkInstructions
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 29 Apr 2016 20:23:42 +0000 (20:23 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 29 Apr 2016 20:23:42 +0000 (20:23 +0000)
commit44f78713bc12ff91a3e51849a987ac4a52814337
treed32e9eeb1b0cbe92e3809ced2046e4d5496d5622
parent6d8c39b760b6478b2b64b5e9513b066ada7c6b45
AMDGPU/SI: Move post regalloc run of SIShrinkInstructions

Move to addPreEmitPass. This is so it runs after post-RA
scheduling so we can merge s_nops emitted by the scheduler
and hazard recognizer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268095 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp