[llvm] r320280 - [X86] Fix test case I failed ot update in r320279.

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 9 17:27:54 PST 2017


Author: ctopper
Date: Sat Dec  9 17:27:54 2017
New Revision: 320280

URL: http://llvm.org/viewvc/llvm-project?rev=320280&view=rev
Log:
[X86] Fix test case I failed ot update in r320279.

Modified:
    llvm/trunk/test/CodeGen/X86/mul-constant-i32.ll

Modified: llvm/trunk/test/CodeGen/X86/mul-constant-i32.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/mul-constant-i32.ll?rev=320280&r1=320279&r2=320280&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/mul-constant-i32.ll (original)
+++ llvm/trunk/test/CodeGen/X86/mul-constant-i32.ll Sat Dec  9 17:27:54 2017
@@ -1686,7 +1686,7 @@ define i32 @test_mul_spec(i32 %x) nounwi
 ; X64-HSW-NEXT:    addl $42, %ecx # sched: [1:0.25]
 ; X64-HSW-NEXT:    leal (%rdi,%rdi,4), %eax # sched: [1:0.50]
 ; X64-HSW-NEXT:    addl $2, %eax # sched: [1:0.25]
-; X64-HSW-NEXT:    imull %ecx, %eax # sched: [4:1.00]
+; X64-HSW-NEXT:    imull %ecx, %eax # sched: [3:1.00]
 ; X64-HSW-NEXT:    retq # sched: [7:1.00]
 ;
 ; X64-JAG-LABEL: test_mul_spec:
@@ -1712,7 +1712,7 @@ define i32 @test_mul_spec(i32 %x) nounwi
 ; HSW-NOOPT-NEXT:    addl $42, %ecx # sched: [1:0.25]
 ; HSW-NOOPT-NEXT:    leal (%rdi,%rdi,4), %eax # sched: [1:0.50]
 ; HSW-NOOPT-NEXT:    addl $2, %eax # sched: [1:0.25]
-; HSW-NOOPT-NEXT:    imull %ecx, %eax # sched: [4:1.00]
+; HSW-NOOPT-NEXT:    imull %ecx, %eax # sched: [3:1.00]
 ; HSW-NOOPT-NEXT:    retq # sched: [7:1.00]
 ;
 ; JAG-NOOPT-LABEL: test_mul_spec:




More information about the llvm-commits mailing list