diff options
author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2017-12-12 19:11:31 +0000 |
---|---|---|
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2017-12-12 19:11:31 +0000 |
commit | f51ad9b5b3a4dfcc874b56f006fc16e1a31bd4ac (patch) | |
tree | 4f54cd4d55792c62465286c2d15bdcab926d239d /lib | |
parent | d5f27946f10133a671036ae00c5562e1e1192fbd (diff) |
Reapply "[X86] Flag BroadWell scheduler model as complete"
This reverts commit r320508, in effect re-applying r320308. Simon has already
reverted the parts that caused the crash that motivated the revert in r320492.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320512 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/Target/X86/X86SchedBroadwell.td | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/X86/X86SchedBroadwell.td b/lib/Target/X86/X86SchedBroadwell.td index d416b91e39c..75d46d6ff31 100755 --- a/lib/Target/X86/X86SchedBroadwell.td +++ b/lib/Target/X86/X86SchedBroadwell.td @@ -120,6 +120,9 @@ def : WriteRes<WriteMove, [BWPort0156]>; // These can often bypass execution ports completely. def : WriteRes<WriteZero, []>; +// Treat misc copies as a move. +def : InstRW<[WriteMove], (instrs COPY)>; + // Branches don't produce values, so they have no latency, but they still // consume resources. Indirect branches can fold loads. defm : BWWriteResPair<WriteJump, BWPort06, 1>; |