From: Eric Christopher Date: Wed, 21 May 2014 00:00:01 +0000 (+0000) Subject: Remove test. Replacing it with a backend test with the optimized IR. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=18ab7ee396d8ad7119b24ae0b60f77b1207e67b8;p=clang Remove test. Replacing it with a backend test with the optimized IR. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209260 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/debug-dead-local-var.c b/test/CodeGen/debug-dead-local-var.c deleted file mode 100644 index 31c8d3705e..0000000000 --- a/test/CodeGen/debug-dead-local-var.c +++ /dev/null @@ -1,15 +0,0 @@ -// FIXME: Check IR rather than asm, then triple is not needed. -// RUN: %clang_cc1 -triple %itanium_abi_triple -O2 -g -emit-llvm %s -o - | FileCheck %s -// Radar 8122864 - -// Code is not generated for function foo, but preserve type information of -// local variable xyz. -static void foo() { -// CHECK: DW_TAG_structure_type - struct X { int a; int b; } xyz; -} - -int bar() { - foo(); - return 1; -}