CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
384 lines
17 KiB
YAML
384 lines
17 KiB
YAML
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
|
|
# RUN: llc -mtriple=riscv32 -x mir -run-pass=machine-outliner -simplify-mir -verify-machineinstrs -outliner-leaf-descendants=false < %s \
|
|
# RUN: | FileCheck %s
|
|
# RUN: llc -mtriple=riscv64 -x mir -run-pass=machine-outliner -simplify-mir -verify-machineinstrs -outliner-leaf-descendants=false < %s \
|
|
# RUN: | FileCheck %s
|
|
# RUN: llc -mtriple=riscv32 -x mir -run-pass=machine-outliner -simplify-mir --function-sections -verify-machineinstrs -outliner-leaf-descendants=false < %s \
|
|
# RUN: | FileCheck -check-prefix=CHECK-FS %s
|
|
# RUN: llc -mtriple=riscv64 -x mir -run-pass=machine-outliner -simplify-mir --function-sections -verify-machineinstrs -outliner-leaf-descendants=false < %s \
|
|
# RUN: | FileCheck -check-prefix=CHECK-FS %s
|
|
|
|
--- |
|
|
; Cannot outline instructions with pcrel-lo operands if function section
|
|
; enabled.
|
|
@bar = dso_local local_unnamed_addr global i32 0, align 4
|
|
define i32 @foo(i32 %a, i32 %b) { ret i32 0 }
|
|
|
|
$foo2 = comdat any
|
|
define i32 @foo2(i32 %a, i32 %b) comdat { ret i32 0 }
|
|
|
|
define i32 @foo3(i32 %a, i32 %b) section ".abc" { ret i32 0 }
|
|
|
|
define i32 @foo4(i32 %a, i32 %b) !section_prefix !0 { ret i32 0 }
|
|
!0 = !{!"function_section_prefix", !"myprefix"}
|
|
...
|
|
---
|
|
name: foo
|
|
tracksRegLiveness: true
|
|
body: |
|
|
; CHECK-LABEL: name: foo
|
|
; CHECK: bb.0:
|
|
; CHECK-NEXT: liveins: $x10, $x11, $x13
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: $x5 = PseudoCALLReg target-flags(riscv-call) @OUTLINED_FUNCTION_1, implicit-def $x5, implicit-def $x10, implicit-def $x11, implicit-def $x12, implicit $x10, implicit $x11, implicit $x13
|
|
; CHECK-NEXT: PseudoBR %bb.3
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: bb.1:
|
|
; CHECK-NEXT: liveins: $x10, $x11, $x13
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: $x5 = PseudoCALLReg target-flags(riscv-call) @OUTLINED_FUNCTION_1, implicit-def $x5, implicit-def $x10, implicit-def $x11, implicit-def $x12, implicit $x10, implicit $x11, implicit $x13
|
|
; CHECK-NEXT: PseudoBR %bb.3
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: bb.2:
|
|
; CHECK-NEXT: liveins: $x10, $x11, $x13
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: $x5 = PseudoCALLReg target-flags(riscv-call) @OUTLINED_FUNCTION_1, implicit-def $x5, implicit-def $x10, implicit-def $x11, implicit-def $x12, implicit $x10, implicit $x11, implicit $x13
|
|
; CHECK-NEXT: PseudoBR %bb.3
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: bb.3:
|
|
; CHECK-NEXT: PseudoRET
|
|
;
|
|
; CHECK-FS-LABEL: name: foo
|
|
; CHECK-FS: bb.0:
|
|
; CHECK-FS-NEXT: liveins: $x10, $x11, $x13
|
|
; CHECK-FS-NEXT: {{ $}}
|
|
; CHECK-FS-NEXT: $x5 = PseudoCALLReg target-flags(riscv-call) @OUTLINED_FUNCTION_0, implicit-def $x5, implicit-def $x10, implicit-def $x11, implicit-def $x12, implicit $x10, implicit $x11
|
|
; CHECK-FS-NEXT: $x11 = LW killed renamable $x13, target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> :: (dereferenceable load (s32) from @bar)
|
|
; CHECK-FS-NEXT: PseudoBR %bb.3
|
|
; CHECK-FS-NEXT: {{ $}}
|
|
; CHECK-FS-NEXT: bb.1:
|
|
; CHECK-FS-NEXT: liveins: $x10, $x11, $x13
|
|
; CHECK-FS-NEXT: {{ $}}
|
|
; CHECK-FS-NEXT: $x5 = PseudoCALLReg target-flags(riscv-call) @OUTLINED_FUNCTION_0, implicit-def $x5, implicit-def $x10, implicit-def $x11, implicit-def $x12, implicit $x10, implicit $x11
|
|
; CHECK-FS-NEXT: $x11 = LW killed renamable $x13, target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> :: (dereferenceable load (s32) from @bar)
|
|
; CHECK-FS-NEXT: PseudoBR %bb.3
|
|
; CHECK-FS-NEXT: {{ $}}
|
|
; CHECK-FS-NEXT: bb.2:
|
|
; CHECK-FS-NEXT: liveins: $x10, $x11, $x13
|
|
; CHECK-FS-NEXT: {{ $}}
|
|
; CHECK-FS-NEXT: $x5 = PseudoCALLReg target-flags(riscv-call) @OUTLINED_FUNCTION_0, implicit-def $x5, implicit-def $x10, implicit-def $x11, implicit-def $x12, implicit $x10, implicit $x11
|
|
; CHECK-FS-NEXT: $x11 = LW killed renamable $x13, target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> :: (dereferenceable load (s32) from @bar)
|
|
; CHECK-FS-NEXT: PseudoBR %bb.3
|
|
; CHECK-FS-NEXT: {{ $}}
|
|
; CHECK-FS-NEXT: bb.3:
|
|
; CHECK-FS-NEXT: PseudoRET
|
|
bb.0:
|
|
liveins: $x10, $x11, $x13
|
|
|
|
$x11 = ORI $x11, 1023
|
|
$x12 = ADDI $x10, 17
|
|
$x11 = AND $x12, $x11
|
|
$x10 = SUB $x10, $x11
|
|
$x11 = LW killed renamable $x13, target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> :: (dereferenceable load (s32) from @bar)
|
|
PseudoBR %bb.3
|
|
|
|
bb.1:
|
|
liveins: $x10, $x11, $x13
|
|
|
|
$x11 = ORI $x11, 1023
|
|
$x12 = ADDI $x10, 17
|
|
$x11 = AND $x12, $x11
|
|
$x10 = SUB $x10, $x11
|
|
$x11 = LW killed renamable $x13, target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> :: (dereferenceable load (s32) from @bar)
|
|
PseudoBR %bb.3
|
|
|
|
bb.2:
|
|
liveins: $x10, $x11, $x13
|
|
|
|
$x11 = ORI $x11, 1023
|
|
$x12 = ADDI $x10, 17
|
|
$x11 = AND $x12, $x11
|
|
$x10 = SUB $x10, $x11
|
|
$x11 = LW killed renamable $x13, target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> :: (dereferenceable load (s32) from @bar)
|
|
PseudoBR %bb.3
|
|
|
|
bb.3:
|
|
PseudoRET
|
|
...
|
|
---
|
|
name: foo2
|
|
tracksRegLiveness: true
|
|
body: |
|
|
; CHECK-LABEL: name: foo2
|
|
; CHECK: bb.0:
|
|
; CHECK-NEXT: liveins: $x10, $x11, $x13
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: $x5 = PseudoCALLReg target-flags(riscv-call) @OUTLINED_FUNCTION_0, implicit-def $x5, implicit-def $x10, implicit-def $x11, implicit-def $x12, implicit $x10, implicit $x11
|
|
; CHECK-NEXT: $x11 = LW killed renamable $x13, target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> :: (dereferenceable load (s32) from @bar)
|
|
; CHECK-NEXT: PseudoBR %bb.3
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: bb.1:
|
|
; CHECK-NEXT: liveins: $x10, $x11, $x13
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: $x5 = PseudoCALLReg target-flags(riscv-call) @OUTLINED_FUNCTION_0, implicit-def $x5, implicit-def $x10, implicit-def $x11, implicit-def $x12, implicit $x10, implicit $x11
|
|
; CHECK-NEXT: $x11 = LW killed renamable $x13, target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> :: (dereferenceable load (s32) from @bar)
|
|
; CHECK-NEXT: PseudoBR %bb.3
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: bb.2:
|
|
; CHECK-NEXT: liveins: $x10, $x11, $x13
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: $x5 = PseudoCALLReg target-flags(riscv-call) @OUTLINED_FUNCTION_0, implicit-def $x5, implicit-def $x10, implicit-def $x11, implicit-def $x12, implicit $x10, implicit $x11
|
|
; CHECK-NEXT: $x11 = LW killed renamable $x13, target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> :: (dereferenceable load (s32) from @bar)
|
|
; CHECK-NEXT: PseudoBR %bb.3
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: bb.3:
|
|
; CHECK-NEXT: PseudoRET
|
|
;
|
|
; CHECK-FS-LABEL: name: foo2
|
|
; CHECK-FS: bb.0:
|
|
; CHECK-FS-NEXT: liveins: $x10, $x11, $x13
|
|
; CHECK-FS-NEXT: {{ $}}
|
|
; CHECK-FS-NEXT: $x5 = PseudoCALLReg target-flags(riscv-call) @OUTLINED_FUNCTION_0, implicit-def $x5, implicit-def $x10, implicit-def $x11, implicit-def $x12, implicit $x10, implicit $x11
|
|
; CHECK-FS-NEXT: $x11 = LW killed renamable $x13, target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> :: (dereferenceable load (s32) from @bar)
|
|
; CHECK-FS-NEXT: PseudoBR %bb.3
|
|
; CHECK-FS-NEXT: {{ $}}
|
|
; CHECK-FS-NEXT: bb.1:
|
|
; CHECK-FS-NEXT: liveins: $x10, $x11, $x13
|
|
; CHECK-FS-NEXT: {{ $}}
|
|
; CHECK-FS-NEXT: $x5 = PseudoCALLReg target-flags(riscv-call) @OUTLINED_FUNCTION_0, implicit-def $x5, implicit-def $x10, implicit-def $x11, implicit-def $x12, implicit $x10, implicit $x11
|
|
; CHECK-FS-NEXT: $x11 = LW killed renamable $x13, target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> :: (dereferenceable load (s32) from @bar)
|
|
; CHECK-FS-NEXT: PseudoBR %bb.3
|
|
; CHECK-FS-NEXT: {{ $}}
|
|
; CHECK-FS-NEXT: bb.2:
|
|
; CHECK-FS-NEXT: liveins: $x10, $x11, $x13
|
|
; CHECK-FS-NEXT: {{ $}}
|
|
; CHECK-FS-NEXT: $x5 = PseudoCALLReg target-flags(riscv-call) @OUTLINED_FUNCTION_0, implicit-def $x5, implicit-def $x10, implicit-def $x11, implicit-def $x12, implicit $x10, implicit $x11
|
|
; CHECK-FS-NEXT: $x11 = LW killed renamable $x13, target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> :: (dereferenceable load (s32) from @bar)
|
|
; CHECK-FS-NEXT: PseudoBR %bb.3
|
|
; CHECK-FS-NEXT: {{ $}}
|
|
; CHECK-FS-NEXT: bb.3:
|
|
; CHECK-FS-NEXT: PseudoRET
|
|
bb.0:
|
|
liveins: $x10, $x11, $x13
|
|
|
|
$x11 = ORI $x11, 1023
|
|
$x12 = ADDI $x10, 17
|
|
$x11 = AND $x12, $x11
|
|
$x10 = SUB $x10, $x11
|
|
$x11 = LW killed renamable $x13, target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> :: (dereferenceable load (s32) from @bar)
|
|
PseudoBR %bb.3
|
|
|
|
bb.1:
|
|
liveins: $x10, $x11, $x13
|
|
|
|
$x11 = ORI $x11, 1023
|
|
$x12 = ADDI $x10, 17
|
|
$x11 = AND $x12, $x11
|
|
$x10 = SUB $x10, $x11
|
|
$x11 = LW killed renamable $x13, target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> :: (dereferenceable load (s32) from @bar)
|
|
PseudoBR %bb.3
|
|
|
|
bb.2:
|
|
liveins: $x10, $x11, $x13
|
|
|
|
$x11 = ORI $x11, 1023
|
|
$x12 = ADDI $x10, 17
|
|
$x11 = AND $x12, $x11
|
|
$x10 = SUB $x10, $x11
|
|
$x11 = LW killed renamable $x13, target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> :: (dereferenceable load (s32) from @bar)
|
|
PseudoBR %bb.3
|
|
|
|
bb.3:
|
|
PseudoRET
|
|
...
|
|
---
|
|
name: foo3
|
|
tracksRegLiveness: true
|
|
body: |
|
|
; CHECK-LABEL: name: foo3
|
|
; CHECK: bb.0:
|
|
; CHECK-NEXT: liveins: $x10, $x11, $x13
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: $x11 = ORI $x11, 1023
|
|
; CHECK-NEXT: $x12 = ADDI $x10, 17
|
|
; CHECK-NEXT: $x11 = AND $x12, $x11
|
|
; CHECK-NEXT: $x10 = SUB $x10, $x11
|
|
; CHECK-NEXT: $x11 = LW killed renamable $x13, target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> :: (dereferenceable load (s32) from @bar)
|
|
; CHECK-NEXT: PseudoBR %bb.3
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: bb.1:
|
|
; CHECK-NEXT: liveins: $x10, $x11, $x13
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: $x11 = ORI $x11, 1023
|
|
; CHECK-NEXT: $x12 = ADDI $x10, 17
|
|
; CHECK-NEXT: $x11 = AND $x12, $x11
|
|
; CHECK-NEXT: $x10 = SUB $x10, $x11
|
|
; CHECK-NEXT: $x11 = LW killed renamable $x13, target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> :: (dereferenceable load (s32) from @bar)
|
|
; CHECK-NEXT: PseudoBR %bb.3
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: bb.2:
|
|
; CHECK-NEXT: liveins: $x10, $x11, $x13
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: $x11 = ORI $x11, 1023
|
|
; CHECK-NEXT: $x12 = ADDI $x10, 17
|
|
; CHECK-NEXT: $x11 = AND $x12, $x11
|
|
; CHECK-NEXT: $x10 = SUB $x10, $x11
|
|
; CHECK-NEXT: $x11 = LW killed renamable $x13, target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> :: (dereferenceable load (s32) from @bar)
|
|
; CHECK-NEXT: PseudoBR %bb.3
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: bb.3:
|
|
; CHECK-NEXT: PseudoRET
|
|
;
|
|
; CHECK-FS-LABEL: name: foo3
|
|
; CHECK-FS: bb.0:
|
|
; CHECK-FS-NEXT: liveins: $x10, $x11, $x13
|
|
; CHECK-FS-NEXT: {{ $}}
|
|
; CHECK-FS-NEXT: $x11 = ORI $x11, 1023
|
|
; CHECK-FS-NEXT: $x12 = ADDI $x10, 17
|
|
; CHECK-FS-NEXT: $x11 = AND $x12, $x11
|
|
; CHECK-FS-NEXT: $x10 = SUB $x10, $x11
|
|
; CHECK-FS-NEXT: $x11 = LW killed renamable $x13, target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> :: (dereferenceable load (s32) from @bar)
|
|
; CHECK-FS-NEXT: PseudoBR %bb.3
|
|
; CHECK-FS-NEXT: {{ $}}
|
|
; CHECK-FS-NEXT: bb.1:
|
|
; CHECK-FS-NEXT: liveins: $x10, $x11, $x13
|
|
; CHECK-FS-NEXT: {{ $}}
|
|
; CHECK-FS-NEXT: $x11 = ORI $x11, 1023
|
|
; CHECK-FS-NEXT: $x12 = ADDI $x10, 17
|
|
; CHECK-FS-NEXT: $x11 = AND $x12, $x11
|
|
; CHECK-FS-NEXT: $x10 = SUB $x10, $x11
|
|
; CHECK-FS-NEXT: $x11 = LW killed renamable $x13, target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> :: (dereferenceable load (s32) from @bar)
|
|
; CHECK-FS-NEXT: PseudoBR %bb.3
|
|
; CHECK-FS-NEXT: {{ $}}
|
|
; CHECK-FS-NEXT: bb.2:
|
|
; CHECK-FS-NEXT: liveins: $x10, $x11, $x13
|
|
; CHECK-FS-NEXT: {{ $}}
|
|
; CHECK-FS-NEXT: $x11 = ORI $x11, 1023
|
|
; CHECK-FS-NEXT: $x12 = ADDI $x10, 17
|
|
; CHECK-FS-NEXT: $x11 = AND $x12, $x11
|
|
; CHECK-FS-NEXT: $x10 = SUB $x10, $x11
|
|
; CHECK-FS-NEXT: $x11 = LW killed renamable $x13, target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> :: (dereferenceable load (s32) from @bar)
|
|
; CHECK-FS-NEXT: PseudoBR %bb.3
|
|
; CHECK-FS-NEXT: {{ $}}
|
|
; CHECK-FS-NEXT: bb.3:
|
|
; CHECK-FS-NEXT: PseudoRET
|
|
bb.0:
|
|
liveins: $x10, $x11, $x13
|
|
|
|
$x11 = ORI $x11, 1023
|
|
$x12 = ADDI $x10, 17
|
|
$x11 = AND $x12, $x11
|
|
$x10 = SUB $x10, $x11
|
|
$x11 = LW killed renamable $x13, target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> :: (dereferenceable load (s32) from @bar)
|
|
PseudoBR %bb.3
|
|
|
|
bb.1:
|
|
liveins: $x10, $x11, $x13
|
|
|
|
$x11 = ORI $x11, 1023
|
|
$x12 = ADDI $x10, 17
|
|
$x11 = AND $x12, $x11
|
|
$x10 = SUB $x10, $x11
|
|
$x11 = LW killed renamable $x13, target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> :: (dereferenceable load (s32) from @bar)
|
|
PseudoBR %bb.3
|
|
|
|
bb.2:
|
|
liveins: $x10, $x11, $x13
|
|
|
|
$x11 = ORI $x11, 1023
|
|
$x12 = ADDI $x10, 17
|
|
$x11 = AND $x12, $x11
|
|
$x10 = SUB $x10, $x11
|
|
$x11 = LW killed renamable $x13, target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> :: (dereferenceable load (s32) from @bar)
|
|
PseudoBR %bb.3
|
|
|
|
bb.3:
|
|
PseudoRET
|
|
...
|
|
---
|
|
name: foo4
|
|
tracksRegLiveness: true
|
|
body: |
|
|
; CHECK-LABEL: name: foo4
|
|
; CHECK: bb.0:
|
|
; CHECK-NEXT: liveins: $x10, $x11, $x13
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: $x5 = PseudoCALLReg target-flags(riscv-call) @OUTLINED_FUNCTION_0, implicit-def $x5, implicit-def $x10, implicit-def $x11, implicit-def $x12, implicit $x10, implicit $x11
|
|
; CHECK-NEXT: $x11 = LW killed renamable $x13, target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> :: (dereferenceable load (s32) from @bar)
|
|
; CHECK-NEXT: PseudoBR %bb.3
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: bb.1:
|
|
; CHECK-NEXT: liveins: $x10, $x11, $x13
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: $x5 = PseudoCALLReg target-flags(riscv-call) @OUTLINED_FUNCTION_0, implicit-def $x5, implicit-def $x10, implicit-def $x11, implicit-def $x12, implicit $x10, implicit $x11
|
|
; CHECK-NEXT: $x11 = LW killed renamable $x13, target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> :: (dereferenceable load (s32) from @bar)
|
|
; CHECK-NEXT: PseudoBR %bb.3
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: bb.2:
|
|
; CHECK-NEXT: liveins: $x10, $x11, $x13
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: $x5 = PseudoCALLReg target-flags(riscv-call) @OUTLINED_FUNCTION_0, implicit-def $x5, implicit-def $x10, implicit-def $x11, implicit-def $x12, implicit $x10, implicit $x11
|
|
; CHECK-NEXT: $x11 = LW killed renamable $x13, target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> :: (dereferenceable load (s32) from @bar)
|
|
; CHECK-NEXT: PseudoBR %bb.3
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: bb.3:
|
|
; CHECK-NEXT: PseudoRET
|
|
;
|
|
; CHECK-FS-LABEL: name: foo4
|
|
; CHECK-FS: bb.0:
|
|
; CHECK-FS-NEXT: liveins: $x10, $x11, $x13
|
|
; CHECK-FS-NEXT: {{ $}}
|
|
; CHECK-FS-NEXT: $x5 = PseudoCALLReg target-flags(riscv-call) @OUTLINED_FUNCTION_0, implicit-def $x5, implicit-def $x10, implicit-def $x11, implicit-def $x12, implicit $x10, implicit $x11
|
|
; CHECK-FS-NEXT: $x11 = LW killed renamable $x13, target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> :: (dereferenceable load (s32) from @bar)
|
|
; CHECK-FS-NEXT: PseudoBR %bb.3
|
|
; CHECK-FS-NEXT: {{ $}}
|
|
; CHECK-FS-NEXT: bb.1:
|
|
; CHECK-FS-NEXT: liveins: $x10, $x11, $x13
|
|
; CHECK-FS-NEXT: {{ $}}
|
|
; CHECK-FS-NEXT: $x5 = PseudoCALLReg target-flags(riscv-call) @OUTLINED_FUNCTION_0, implicit-def $x5, implicit-def $x10, implicit-def $x11, implicit-def $x12, implicit $x10, implicit $x11
|
|
; CHECK-FS-NEXT: $x11 = LW killed renamable $x13, target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> :: (dereferenceable load (s32) from @bar)
|
|
; CHECK-FS-NEXT: PseudoBR %bb.3
|
|
; CHECK-FS-NEXT: {{ $}}
|
|
; CHECK-FS-NEXT: bb.2:
|
|
; CHECK-FS-NEXT: liveins: $x10, $x11, $x13
|
|
; CHECK-FS-NEXT: {{ $}}
|
|
; CHECK-FS-NEXT: $x5 = PseudoCALLReg target-flags(riscv-call) @OUTLINED_FUNCTION_0, implicit-def $x5, implicit-def $x10, implicit-def $x11, implicit-def $x12, implicit $x10, implicit $x11
|
|
; CHECK-FS-NEXT: $x11 = LW killed renamable $x13, target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> :: (dereferenceable load (s32) from @bar)
|
|
; CHECK-FS-NEXT: PseudoBR %bb.3
|
|
; CHECK-FS-NEXT: {{ $}}
|
|
; CHECK-FS-NEXT: bb.3:
|
|
; CHECK-FS-NEXT: PseudoRET
|
|
bb.0:
|
|
liveins: $x10, $x11, $x13
|
|
|
|
$x11 = ORI $x11, 1023
|
|
$x12 = ADDI $x10, 17
|
|
$x11 = AND $x12, $x11
|
|
$x10 = SUB $x10, $x11
|
|
$x11 = LW killed renamable $x13, target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> :: (dereferenceable load (s32) from @bar)
|
|
PseudoBR %bb.3
|
|
|
|
bb.1:
|
|
liveins: $x10, $x11, $x13
|
|
|
|
$x11 = ORI $x11, 1023
|
|
$x12 = ADDI $x10, 17
|
|
$x11 = AND $x12, $x11
|
|
$x10 = SUB $x10, $x11
|
|
$x11 = LW killed renamable $x13, target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> :: (dereferenceable load (s32) from @bar)
|
|
PseudoBR %bb.3
|
|
|
|
bb.2:
|
|
liveins: $x10, $x11, $x13
|
|
|
|
$x11 = ORI $x11, 1023
|
|
$x12 = ADDI $x10, 17
|
|
$x11 = AND $x12, $x11
|
|
$x10 = SUB $x10, $x11
|
|
$x11 = LW killed renamable $x13, target-flags(riscv-pcrel-lo) <mcsymbol .Lpcrel_hi1> :: (dereferenceable load (s32) from @bar)
|
|
PseudoBR %bb.3
|
|
|
|
bb.3:
|
|
PseudoRET
|
|
...
|