AMDGPU: Register some more passes so -print-before works

llvm-svn: 250071
This commit is contained in:
Matt Arsenault 2015-10-12 17:43:59 +00:00
parent 07a72bad0b
commit 8c0ef8b36d
1 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,8 @@ extern "C" void LLVMInitializeAMDGPUTarget() {
RegisterTargetMachine<GCNTargetMachine> Y(TheGCNTarget);
PassRegistry *PR = PassRegistry::getPassRegistry();
initializeSILowerI1CopiesPass(*PR);
initializeSIFoldOperandsPass(*PR);
initializeSIFixSGPRLiveRangesPass(*PR);
initializeSIFixControlFlowLiveIntervalsPass(*PR);
initializeSILoadStoreOptimizerPass(*PR);