From e5bb30d9a75b4dbd01564decdaf1e5bd2b694cfd Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Fri, 20 Jun 2014 15:30:38 +0000 Subject: [PATCH] Move test so that it is skipped if the ARM target is not enabled. llvm-svn: 211366 --- llvm/test/CodeGen/ARM/null-streamer.ll | 7 +++++++ llvm/test/DebugInfo/global.ll | 3 --- 2 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 llvm/test/CodeGen/ARM/null-streamer.ll diff --git a/llvm/test/CodeGen/ARM/null-streamer.ll b/llvm/test/CodeGen/ARM/null-streamer.ll new file mode 100644 index 0000000..350c45e --- /dev/null +++ b/llvm/test/CodeGen/ARM/null-streamer.ll @@ -0,0 +1,7 @@ +; Test the null streamer with a terget streamer. +; RUN: llc -O0 -filetype=null -mtriple=arm-linux < %s + +define i32 @main() { +entry: + ret i32 0 +} diff --git a/llvm/test/DebugInfo/global.ll b/llvm/test/DebugInfo/global.ll index 5475b25..3c97f0c 100644 --- a/llvm/test/DebugInfo/global.ll +++ b/llvm/test/DebugInfo/global.ll @@ -6,9 +6,6 @@ ; Also test that the null streamer doesn't crash with debug info. ; RUN: %llc_dwarf -O0 -filetype=null < %s -; Test the null streamer with a terget streamer too. -; RUN: llc -O0 -filetype=null -mtriple=arm-linux < %s - ; generated from the following source compiled to bitcode with clang -g -O1 ; static int i; ; int main() { -- 2.7.4