# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 3 # RUN: llc -mtriple=x86_64-unknown-linux-gnu -mattr=slow-3ops-lea -run-pass x86-fixup-leas -o - %s | FileCheck %s # RUN: llc -mtriple=x86_64-unknown-linux-gnu -mattr=slow-3ops-lea -passes="require,function(machine-function(x86-fixup-leas))" -o - %s | FileCheck %s --- | define void @test() nounwind { ret void } --- name: test body: | bb.0: ; CHECK-LABEL: name: test ; CHECK: renamable $rax = LEA64r renamable $rbx, 1, renamable $rbp, 0, $noreg ; CHECK-NEXT: $rax = ADD64ri32 $rax, target-flags(x86-gotoff) , implicit-def $eflags ; CHECK-NEXT: JMP64r renamable $rax renamable $rax = LEA64r renamable $rbp, 1, renamable $rbx, target-flags(x86-gotoff) , $noreg JMP64r renamable $rax ...