AMDGPU: Fix recomputing dominator tree unnecessarily
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 25 Sep 2015 17:21:28 +0000 (17:21 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 25 Sep 2015 17:21:28 +0000 (17:21 +0000)
commit7a6a7f2409d74c3639020d1b8436157eec7c8d94
tree0840df5bd6ae89b94d38f9940f9451712fff4c35
parent323c9fbce20d10f8c9c71ed2f6b75ee7d6d198ab
AMDGPU: Fix recomputing dominator tree unnecessarily

SIFixSGPRCopies does not modify the CFG, but this was
being recomputed before running SIFoldOperands.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248587 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SIFixSGPRCopies.cpp
lib/Target/AMDGPU/SIFoldOperands.cpp
lib/Target/AMDGPU/SIInsertWaits.cpp
lib/Target/AMDGPU/SILowerControlFlow.cpp
lib/Target/AMDGPU/SILowerI1Copies.cpp
lib/Target/AMDGPU/SIPrepareScratchRegs.cpp