[llvm] r183477 - ARM sched model: Use the right resources for DIV

Arnold Schwaighofer aschwaighofer at apple.com
Thu Jun 6 18:16:15 PDT 2013


Author: arnolds
Date: Thu Jun  6 20:16:15 2013
New Revision: 183477

URL: http://llvm.org/viewvc/llvm-project?rev=183477&view=rev
Log:
ARM sched model: Use the right resources for DIV

Modified:
    llvm/trunk/lib/Target/ARM/ARMScheduleSwift.td

Modified: llvm/trunk/lib/Target/ARM/ARMScheduleSwift.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMScheduleSwift.td?rev=183477&r1=183476&r2=183477&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMScheduleSwift.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMScheduleSwift.td Thu Jun  6 20:16:15 2013
@@ -1338,7 +1338,7 @@ let SchedModel = SwiftModel in {
   }
   // 4.2.18 Integer Divide
   def : WriteRes<WriteDiv, [SwiftUnitDiv]>; // Workaround.
-  def : InstRW < [WriteDiv],
+  def : InstRW <[SwiftDiv],
         (instregex "SDIV", "UDIV", "t2SDIV", "t2UDIV")>;
 
   // 4.2.19 Integer Load Single Element





More information about the llvm-commits mailing list