diff options
author | Arnold Schwaighofer <aschwaighofer@apple.com> | 2013-06-07 01:16:15 +0000 |
---|---|---|
committer | Arnold Schwaighofer <aschwaighofer@apple.com> | 2013-06-07 01:16:15 +0000 |
commit | c6752d5565d77e1824eb08cfc2bd53b5f6229fdb (patch) | |
tree | ed2e54bc220d930d18760ef9e4417b7a19a9da0f | |
parent | 873ff29514f13f6919f172ba430994ff99becbd2 (diff) | |
download | external_llvm-c6752d5565d77e1824eb08cfc2bd53b5f6229fdb.zip external_llvm-c6752d5565d77e1824eb08cfc2bd53b5f6229fdb.tar.gz external_llvm-c6752d5565d77e1824eb08cfc2bd53b5f6229fdb.tar.bz2 |
ARM sched model: Use the right resources for DIV
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183477 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/ARM/ARMScheduleSwift.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMScheduleSwift.td b/lib/Target/ARM/ARMScheduleSwift.td index f29efb8..b5cf251 100644 --- a/lib/Target/ARM/ARMScheduleSwift.td +++ b/lib/Target/ARM/ARMScheduleSwift.td @@ -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 |