Commit e09184ff authored by Amara Emerson's avatar Amara Emerson
Browse files

[AArch64][GlobalISel] Remove -O0 from a legalizer test, which causes...

[AArch64][GlobalISel] Remove -O0 from a legalizer test, which causes legalization failures to be silent.

This was masking legalization failures in some functions in the test. Remove
those for now since they don't actually work.
parent 17764d2c
Loading
Loading
Loading
Loading
+1 −74
Original line number Diff line number Diff line
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=aarch64-- -O0 -run-pass=legalizer %s -o - | FileCheck %s
# RUN: llc -mtriple=aarch64-- -run-pass=legalizer %s -o - | FileCheck %s

---
name:            test_fptosi_s32_s32
@@ -233,76 +233,3 @@ body: |
    %1:_(<4 x s32>) = G_FPTOSI %0
    $q0 = COPY %1
...

---
name:            test_fptoui_s128_s32
body: |
  bb.0:
    liveins: $w0
    ; CHECK-LABEL: name: test_fptoui_s128_s32
    ; CHECK: [[COPY:%[0-9]+]]:_(s32) = COPY $w0
    ; CHECK: [[FPTOUI:%[0-9]+]]:_(s128) = G_FPTOUI [[COPY]](s32)
    ; CHECK: $q0 = COPY [[FPTOUI]](s128)
    %0:_(s32) = COPY $w0
    %1:_(s128) = G_FPTOUI %0
    $q0 = COPY %1
...

---
name:            test_fptosi_s128_s32
body: |
  bb.0:
    liveins: $w0
    ; CHECK-LABEL: name: test_fptosi_s128_s32
    ; CHECK: [[COPY:%[0-9]+]]:_(s32) = COPY $w0
    ; CHECK: [[FPTOSI:%[0-9]+]]:_(s128) = G_FPTOSI [[COPY]](s32)
    ; CHECK: $q0 = COPY [[FPTOSI]](s128)
    %0:_(s32) = COPY $w0
    %1:_(s128) = G_FPTOSI %0
    $q0 = COPY %1
...
---
name:            test_fptosi_s88_s88
body: |
  bb.0:
    liveins: $x0
    ; CHECK-LABEL: name: test_fptosi_s88_s88
    ; CHECK: [[DEF:%[0-9]+]]:_(s88) = G_IMPLICIT_DEF
    ; CHECK: [[FPTOSI:%[0-9]+]]:_(s128) = G_FPTOSI [[DEF]](s88)
    ; CHECK: [[TRUNC:%[0-9]+]]:_(s88) = G_TRUNC [[FPTOSI]](s128)
    ; CHECK: %trunc:_(s64) = G_TRUNC [[TRUNC]](s88)
    ; CHECK: $x0 = COPY %trunc(s64)
    %0:_(s88) = G_IMPLICIT_DEF
    %1:_(s88) = G_FPTOSI %0
    %trunc:_(s64) = G_TRUNC %1
    $x0 = COPY %trunc
...
---
name:            test_fptosi_s88_s64
body: |
  bb.0:
    liveins: $x0
    ; CHECK-LABEL: name: test_fptosi_s88_s64
    ; CHECK: [[DEF:%[0-9]+]]:_(s64) = G_IMPLICIT_DEF
    ; CHECK: [[FPTOSI:%[0-9]+]]:_(s128) = G_FPTOSI [[DEF]](s64)
    ; CHECK: [[TRUNC:%[0-9]+]]:_(s88) = G_TRUNC [[FPTOSI]](s128)
    ; CHECK: %trunc:_(s64) = G_TRUNC [[TRUNC]](s88)
    ; CHECK: $x0 = COPY %trunc(s64)
    %0:_(s64) = G_IMPLICIT_DEF
    %1:_(s88) = G_FPTOSI %0
    %trunc:_(s64) = G_TRUNC %1
    $x0 = COPY %trunc
...
---
name:            test_fptosi_s64_s88
body: |
  bb.0:
    liveins: $x0
    ; CHECK-LABEL: name: test_fptosi_s64_s88
    ; CHECK: [[DEF:%[0-9]+]]:_(s88) = G_IMPLICIT_DEF
    ; CHECK: [[FPEXT:%[0-9]+]]:_(s128) = G_FPEXT [[DEF]](s88)
    ; CHECK: [[FPTOSI:%[0-9]+]]:_(s64) = G_FPTOSI [[FPEXT]](s128)
    ; CHECK: $x0 = COPY [[FPTOSI]](s64)
    %0:_(s88) = G_IMPLICIT_DEF
    %1:_(s64) = G_FPTOSI %0
    $x0 = COPY %1