[llvm-branch-commits] [llvm-branch] r84956 - /llvm/branches/Apple/Leela/lib/CodeGen/PostRASchedulerList.cpp

Bill Wendling isanbard at gmail.com
Fri Oct 23 11:16:21 PDT 2009


Author: void
Date: Fri Oct 23 13:16:20 2009
New Revision: 84956

URL: http://llvm.org/viewvc/llvm-project?rev=84956&view=rev
Log:
$ svn merge -c 84248 https://llvm.org/svn/llvm-project/llvm/trunk
--- Merging r84248 into '.':
U    lib/CodeGen/PostRASchedulerList.cpp

$ svn merge -c 84911 https://llvm.org/svn/llvm-project/llvm/trunk
--- Merging r84248 into '.':
G    lib/CodeGen/PostRASchedulerList.cpp


Modified:
    llvm/branches/Apple/Leela/lib/CodeGen/PostRASchedulerList.cpp

Modified: llvm/branches/Apple/Leela/lib/CodeGen/PostRASchedulerList.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Leela/lib/CodeGen/PostRASchedulerList.cpp?rev=84956&r1=84955&r2=84956&view=diff

==============================================================================
--- llvm/branches/Apple/Leela/lib/CodeGen/PostRASchedulerList.cpp (original)
+++ llvm/branches/Apple/Leela/lib/CodeGen/PostRASchedulerList.cpp Fri Oct 23 13:16:20 2009
@@ -241,12 +241,12 @@
   TargetSubtarget::AntiDepBreakMode AntiDepMode = TargetSubtarget::ANTIDEP_NONE;
   if (EnablePostRAScheduler.getPosition() > 0) {
     if (!EnablePostRAScheduler)
-      return true;
+      return false;
   } else {
-    // Check that post-RA scheduling is enabled for this function
+    // Check that post-RA scheduling is enabled for this target.
     const TargetSubtarget &ST = Fn.getTarget().getSubtarget<TargetSubtarget>();
     if (!ST.enablePostRAScheduler(OptLevel, AntiDepMode))
-      return true;
+      return false;
   }
 
   // Check for antidep breaking override...





More information about the llvm-branch-commits mailing list