[PATCH] D13044: AMDGPU: Disable some passes that are not meaningful

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 25 08:59:29 PDT 2015


tstellarAMD accepted this revision.
This revision is now accepted and ready to land.

================
Comment at: lib/Target/AMDGPU/AMDGPUTargetMachine.cpp:300-303
@@ -293,1 +299,6 @@
+
+  // Exceptions and StackMaps are not supported, so these passes will never do
+  // anything.
+  disablePass(&StackMapLivenessID);
+  disablePass(&FuncletLayoutID);
 }
----------------
Would it be better to disable the passes from the GCNPassConfig constructor?

LGTM.




http://reviews.llvm.org/D13044





More information about the llvm-commits mailing list