Allow min/max detection to see through casts.
[oota-llvm.git] / lib / CodeGen / CodeGen.cpp
index da66639d02fe7dd81673170c2ac730727062dc5d..2c6eaf35a257b0b0ede3a1ecfc2e334fef6914d7 100644 (file)
@@ -61,6 +61,7 @@ void llvm::initializeCodeGen(PassRegistry &Registry) {
   initializePostRASchedulerPass(Registry);
   initializeProcessImplicitDefsPass(Registry);
   initializeRegisterCoalescerPass(Registry);
+  initializeShrinkWrapPass(Registry);
   initializeSlotIndexesPass(Registry);
   initializeStackColoringPass(Registry);
   initializeStackMapLivenessPass(Registry);