Fix for PR14739. It's not safe to fold a load into a call across a store. Thanks...
[oota-llvm.git] / lib / Target / X86 / X86TargetMachine.cpp
index 8393f7e91eda215f065c00d45eb7550b34e7c953..ea99796f35125fb4fb34f3bb7b93a704312ec8d8 100644 (file)
@@ -190,10 +190,6 @@ bool X86PassConfig::addPreEmitPass() {
     addPass(createX86IssueVZeroUpperPass());
     ShouldPrint = true;
   }
-  if (getX86Subtarget().padShortFunctions()){
-    addPass(createX86PadShortFunctions());
-    ShouldPrint = true;
-  }
 
   return ShouldPrint;
 }