summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/divide-by-constant.ll
diff options
context:
space:
mode:
authorGeoff Berry <gberry@codeaurora.org>2018-02-27 16:59:10 +0000
committerGeoff Berry <gberry@codeaurora.org>2018-02-27 16:59:10 +0000
commita2b901129099b93f20e8cdf41f520e31398c0c4d (patch)
treedce027ceb74117c28b4d882383b8ebb172de0fd7 /llvm/test/CodeGen/X86/divide-by-constant.ll
parent3bfa8f01207f907551c8ea39a938e0f2f8ec018b (diff)
downloadbcm5719-llvm-a2b901129099b93f20e8cdf41f520e31398c0c4d.tar.gz
bcm5719-llvm-a2b901129099b93f20e8cdf41f520e31398c0c4d.zip
Re-enable "[MachineCopyPropagation] Extend pass to do COPY source forwarding"
Re-enable commit r323991 now that r325931 has been committed to make MachineOperand::isRenamable() check more conservative w.r.t. code changes and opt-in on a per-target basis. llvm-svn: 326208
Diffstat (limited to 'llvm/test/CodeGen/X86/divide-by-constant.ll')
-rw-r--r--llvm/test/CodeGen/X86/divide-by-constant.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/divide-by-constant.ll b/llvm/test/CodeGen/X86/divide-by-constant.ll
index ed6c0fafe2e..cc2dc1b1d09 100644
--- a/llvm/test/CodeGen/X86/divide-by-constant.ll
+++ b/llvm/test/CodeGen/X86/divide-by-constant.ll
@@ -312,7 +312,7 @@ define i64 @PR23590(i64 %x) nounwind {
; X64: # %bb.0: # %entry
; X64-NEXT: movq %rdi, %rcx
; X64-NEXT: movabsq $6120523590596543007, %rdx # imm = 0x54F077C718E7C21F
-; X64-NEXT: movq %rcx, %rax
+; X64-NEXT: movq %rdi, %rax
; X64-NEXT: mulq %rdx
; X64-NEXT: shrq $12, %rdx
; X64-NEXT: imulq $12345, %rdx, %rax # imm = 0x3039
OpenPOWER on IntegriCloud