]> granicus.if.org Git - llvm/commitdiff
[ARM GlobalISel] Remove redundant testcases. NFC
authorDiana Picus <diana.picus@linaro.org>
Wed, 25 Oct 2017 12:22:21 +0000 (12:22 +0000)
committerDiana Picus <diana.picus@linaro.org>
Wed, 25 Oct 2017 12:22:21 +0000 (12:22 +0000)
Remove the G_FADD testcases from arm-legalizer.mir, they are covered by
arm-legalizer-fp.mir (I probably forgot to delete them when I created
that test).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316573 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/ARM/GlobalISel/arm-legalizer.mir

index 1d9b1294c0e73bedcedb769c80dae3af49986e81..6ac44aaad72ecc12a5eef148d9ea5894cc1b24dc 100644 (file)
@@ -48,9 +48,6 @@
 
   define void @test_brcond() { ret void }
 
-  define void @test_fadd_s32() #0 { ret void }
-  define void @test_fadd_s64() #0 { ret void }
-
   @a_global = global i32 42
   define void @test_global_variable() { ret void }
 
@@ -1003,56 +1000,6 @@ body:             |
     %r0 = COPY %0(s32)
     BX_RET 14, _, implicit %r0
 
-...
----
-name:            test_fadd_s32
-# CHECK-LABEL: name: test_fadd_s32
-legalized:       false
-# CHECK: legalized: true
-regBankSelected: false
-selected:        false
-tracksRegLiveness: true
-registers:
-  - { id: 0, class: _ }
-  - { id: 1, class: _ }
-  - { id: 2, class: _ }
-body:             |
-  bb.0:
-    liveins: %r0, %r1
-
-    %0(s32) = COPY %r0
-    %1(s32) = COPY %r1
-    %2(s32) = G_FADD %0, %1
-    ; G_FADD with s32 is legal, so we should find it unchanged in the output
-    ; CHECK: {{%[0-9]+}}:_(s32) = G_FADD {{%[0-9]+, %[0-9]+}}
-    %r0 = COPY %2(s32)
-    BX_RET 14, _, implicit %r0
-
-...
----
-name:            test_fadd_s64
-# CHECK-LABEL: name: test_fadd_s64
-legalized:       false
-# CHECK: legalized: true
-regBankSelected: false
-selected:        false
-tracksRegLiveness: true
-registers:
-  - { id: 0, class: _ }
-  - { id: 1, class: _ }
-  - { id: 2, class: _ }
-body:             |
-  bb.0:
-    liveins: %d0, %d1
-
-    %0(s64) = COPY %d0
-    %1(s64) = COPY %d1
-    %2(s64) = G_FADD %0, %1
-    ; G_FADD with s64 is legal, so we should find it unchanged in the output
-    ; CHECK: {{%[0-9]+}}:_(s64) = G_FADD {{%[0-9]+, %[0-9]+}}
-    %d0 = COPY %2(s64)
-    BX_RET 14, _, implicit %d0
-
 ...
 ---
 name:            test_global_variable