[ARM] Mark Swift MISched model as incomplete
authorJames Molloy <james.molloy@arm.com>
Mon, 12 Oct 2015 12:49:59 +0000 (12:49 +0000)
committerJames Molloy <james.molloy@arm.com>
Mon, 12 Oct 2015 12:49:59 +0000 (12:49 +0000)
The Swift Machine Scheduler Model is incomplete. There are instructions
missing which can trigger the "incomplete machine model" abort. This was
observed when a downstream SchedMachineModel was added to the ARM
target.

Patch by Christof Douma!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250033 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMScheduleSwift.td

index 6f5740fd13052cc01df62099d5ae8659dd5ad854..3ad7730228e5fb8753bba8d9670134c4468d5dd6 100644 (file)
@@ -43,6 +43,7 @@ def SwiftModel : SchedMachineModel {
   let MicroOpBufferSize = 45; // Based on NEON renamed registers.
   let LoadLatency = 3;
   let MispredictPenalty = 14; // A branch direction mispredict.
+  let CompleteModel = 0;      // FIXME: Remove if all instructions are covered.
 }
 
 // Swift predicates.