From 9b5575d55add0bb2c8769f76db250ff0f4efe8dc Mon Sep 17 00:00:00 2001 From: Andrew Trick Date: Fri, 21 Jun 2013 18:33:04 +0000 Subject: Fix IMULX machine model. Multiple def operands require multiple SchedWrites. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184566 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86Schedule.td | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/Target/X86/X86Schedule.td') diff --git a/lib/Target/X86/X86Schedule.td b/lib/Target/X86/X86Schedule.td index 625a05c..ceb2e05 100644 --- a/lib/Target/X86/X86Schedule.td +++ b/lib/Target/X86/X86Schedule.td @@ -42,6 +42,7 @@ multiclass X86SchedWritePair { // Arithmetic. defm WriteALU : X86SchedWritePair; // Simple integer ALU op. defm WriteIMul : X86SchedWritePair; // Integer multiplication. +def WriteIMulH : SchedWrite; // Integer multiplication, high part. defm WriteIDiv : X86SchedWritePair; // Integer division. def WriteLEA : SchedWrite; // LEA instructions can't fold loads. -- cgit v1.1