1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -mtriple=x86_64 -enable-post-misched -run-pass=postmisched -o - %s | FileCheck %s
4 # Check that postmisched's TopDepthReduce heuristic moves the DEC32r later
5 # because of the dependency on eax
9 ; CHECK-LABEL: name: test
10 ; CHECK: $eax = MOV32rr killed $edi
11 ; CHECK: MOV8mi killed renamable $rsi, 1, $noreg, 0, $noreg, 1 :: (store (s8))
12 ; CHECK: renamable $eax = DEC32r killed renamable $eax, implicit-def $eflags
14 renamable $eax = DEC32r killed renamable $eax, implicit-def $eflags
15 MOV8mi killed renamable $rsi, 1, $noreg, 0, $noreg, 1 :: (store (s8))