From 146254fb4ee74f924a6ef71319e7a29fca35ff10 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Tue, 22 Jan 2013 01:51:54 +0000 Subject: [PATCH] clang/test/CodeGen/2006-01-13-StackSave.c: Nuke llvm's opt and llvm-dis, and FileCheck-ize. @llvm.stacksave is emitted regardless of "opt -std-compile-opts". We have optimizers' tests in llvm/test/Transforms. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173114 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/2006-01-13-StackSave.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/CodeGen/2006-01-13-StackSave.c b/test/CodeGen/2006-01-13-StackSave.c index 7c506b31f2..82f4584b5c 100644 --- a/test/CodeGen/2006-01-13-StackSave.c +++ b/test/CodeGen/2006-01-13-StackSave.c @@ -1,6 +1,6 @@ // PR691 -// RUN: %clang_cc1 %s -emit-llvm -o - | opt -std-compile-opts | \ -// RUN: llvm-dis | grep llvm.stacksave +// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s +// CHECK: call i8* @llvm.stacksave() void test(int N) { int i; -- 2.40.0