forked from OSchip/llvm-project
AMDGPU: Register some more passes so -print-before works
llvm-svn: 250071
This commit is contained in:
parent
07a72bad0b
commit
8c0ef8b36d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue