[cfe-commits] r173114 - /cfe/trunk/test/CodeGen/2006-01-13-StackSave.c
NAKAMURA Takumi
geek4civic at gmail.com
Mon Jan 21 17:51:54 PST 2013
Author: chapuni
Date: Mon Jan 21 19:51:54 2013
New Revision: 173114
URL: http://llvm.org/viewvc/llvm-project?rev=173114&view=rev
Log:
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.
Modified:
cfe/trunk/test/CodeGen/2006-01-13-StackSave.c
Modified: cfe/trunk/test/CodeGen/2006-01-13-StackSave.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/2006-01-13-StackSave.c?rev=173114&r1=173113&r2=173114&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/2006-01-13-StackSave.c (original)
+++ cfe/trunk/test/CodeGen/2006-01-13-StackSave.c Mon Jan 21 19:51:54 2013
@@ -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;
More information about the cfe-commits
mailing list