[llvm] r349146 - [ARM GlobalISel] Remove duplicate test. NFCI
Diana Picus via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 14 05:28:34 PST 2018
Author: rovka
Date: Fri Dec 14 05:28:34 2018
New Revision: 349146
URL: http://llvm.org/viewvc/llvm-project?rev=349146&view=rev
Log:
[ARM GlobalISel] Remove duplicate test. NFCI
Fixup for r349026. I forgot to delete these test functions from the
original file when I moved them to arm-legalize-exts.mir.
Modified:
llvm/trunk/test/CodeGen/ARM/GlobalISel/arm-legalizer.mir
Modified: llvm/trunk/test/CodeGen/ARM/GlobalISel/arm-legalizer.mir
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/GlobalISel/arm-legalizer.mir?rev=349146&r1=349145&r2=349146&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/GlobalISel/arm-legalizer.mir (original)
+++ llvm/trunk/test/CodeGen/ARM/GlobalISel/arm-legalizer.mir Fri Dec 14 05:28:34 2018
@@ -1,8 +1,5 @@
# RUN: llc -mtriple arm-- -run-pass=legalizer %s -o - | FileCheck %s
--- |
- define void @test_sext_s8() { ret void }
- define void @test_zext_s16() { ret void }
-
define void @test_inttoptr_s32() { ret void }
define void @test_ptrtoint_s32() { ret void }
@@ -37,54 +34,6 @@
attributes #0 = { "target-features"="+vfp2" }
...
---
-name: test_sext_s8
-# CHECK-LABEL: name: test_sext_s8
-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
-
- %0(p0) = COPY $r0
- %1(s8) = G_LOAD %0(p0) :: (load 1)
- %2(s32) = G_SEXT %1
- ; G_SEXT with s8 is legal, so we should find it unchanged in the output
- ; CHECK: {{%[0-9]+}}:_(s32) = G_SEXT {{%[0-9]+}}
- $r0 = COPY %2(s32)
- BX_RET 14, $noreg, implicit $r0
-...
----
-name: test_zext_s16
-# CHECK-LABEL: name: test_zext_s16
-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
-
- %0(p0) = COPY $r0
- %1(s16) = G_LOAD %0 :: (load 2)
- %2(s32) = G_ZEXT %1
- ; G_ZEXT with s16 is legal, so we should find it unchanged in the output
- ; CHECK: {{%[0-9]+}}:_(s32) = G_ZEXT {{%[0-9]+}}
- $r0 = COPY %2(s32)
- BX_RET 14, $noreg, implicit $r0
-...
----
name: test_inttoptr_s32
# CHECK-LABEL: name: test_inttoptr_s32
legalized: false
More information about the llvm-commits
mailing list