brintos

brintos / llvm-project-archived public Read only

0
0
Text · 3.1 KiB · 5af5120 Raw
69 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 52# RUN: llc -mtriple=i686-linux-gnu -run-pass=regbankselect,instruction-select %s -o - | FileCheck %s --check-prefixes GISEL-I6863 4---5name:            test_sqrt_f326alignment:       167legalized:       true8fixedStack:9  - { id: 0, type: default, offset: 0, size: 4, alignment: 16, stack-id: default,10      isImmutable: true, isAliased: false, callee-saved-register: '', callee-saved-restored: true,11      debug-info-variable: '', debug-info-expression: '', debug-info-location: '' }12body:             |13  bb.1:14    ; GISEL-I686-LABEL: name: test_sqrt_f3215    ; GISEL-I686: [[LD_Fp32m:%[0-9]+]]:rfp32 = nofpexcept LD_Fp32m %fixed-stack.0, 1, $noreg, 0, $noreg, implicit-def dead $fpsw, implicit $fpcw :: (invariant load (s32) from %fixed-stack.0, align 16)16    ; GISEL-I686-NEXT: [[SQRT_Fp32_:%[0-9]+]]:rfp32 = nofpexcept SQRT_Fp32 [[LD_Fp32m]], implicit-def dead $fpsw, implicit $fpcw17    ; GISEL-I686-NEXT: $fp0 = COPY [[SQRT_Fp32_]]18    ; GISEL-I686-NEXT: RET 0, implicit $fp019    %1:_(p0) = G_FRAME_INDEX %fixed-stack.020    %0:_(s32) = G_LOAD %1(p0) :: (invariant load (s32) from %fixed-stack.0, align 16)21    %2:_(s32) = G_FSQRT %022    $fp0 = COPY %2(s32)23    RET 0, implicit $fp024 25...26---27name:            test_sqrt_f6428alignment:       1629legalized:       true30fixedStack:31  - { id: 0, type: default, offset: 0, size: 8, alignment: 16, stack-id: default,32      isImmutable: true, isAliased: false, callee-saved-register: '', callee-saved-restored: true,33      debug-info-variable: '', debug-info-expression: '', debug-info-location: '' }34body:             |35  bb.1:36    ; GISEL-I686-LABEL: name: test_sqrt_f6437    ; GISEL-I686: [[DEF:%[0-9]+]]:rfp64 = IMPLICIT_DEF38    ; GISEL-I686-NEXT: [[SQRT_Fp64_:%[0-9]+]]:rfp64 = nofpexcept SQRT_Fp64 [[DEF]], implicit-def dead $fpsw, implicit $fpcw39    ; GISEL-I686-NEXT: $fp0 = COPY [[SQRT_Fp64_]]40    ; GISEL-I686-NEXT: RET 0, implicit $fp041    %0:_(s64) = IMPLICIT_DEF42    %2:_(s64) = G_FSQRT %043    $fp0 = COPY %2(s64)44    RET 0, implicit $fp045 46...47---48name:            test_sqrt_f8049alignment:       1650legalized:       true51fixedStack:52  - { id: 0, type: default, offset: 0, size: 10, alignment: 16, stack-id: default,53      isImmutable: true, isAliased: false, callee-saved-register: '', callee-saved-restored: true,54      debug-info-variable: '', debug-info-expression: '', debug-info-location: '' }55body:             |56  bb.1:57    ; GISEL-I686-LABEL: name: test_sqrt_f8058    ; GISEL-I686: [[LD_Fp80m:%[0-9]+]]:rfp80 = nofpexcept LD_Fp80m %fixed-stack.0, 1, $noreg, 0, $noreg, implicit-def dead $fpsw, implicit $fpcw :: (invariant load (s80) from %fixed-stack.0, align 16)59    ; GISEL-I686-NEXT: [[SQRT_Fp80_:%[0-9]+]]:rfp80 = nofpexcept SQRT_Fp80 [[LD_Fp80m]], implicit-def dead $fpsw, implicit $fpcw60    ; GISEL-I686-NEXT: $fp0 = COPY [[SQRT_Fp80_]]61    ; GISEL-I686-NEXT: RET 0, implicit $fp062    %1:_(p0) = G_FRAME_INDEX %fixed-stack.063    %0:_(s80) = G_LOAD %1(p0) :: (invariant load (s80) from %fixed-stack.0, align 16)64    %2:_(s80) = G_FSQRT %065    $fp0 = COPY %2(s80)66    RET 0, implicit $fp067 68...69