From d31dd3278fef468cca3d7a52b66c85d1ee6c9545 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 15 Feb 2004 00:21:04 +0000 Subject: [PATCH] New testcase for PR237: [x86] wierd stack/frame pointer manipulation git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11456 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/2004-02-14-InefficientStackPointer.llx | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/CodeGen/X86/2004-02-14-InefficientStackPointer.llx diff --git a/test/CodeGen/X86/2004-02-14-InefficientStackPointer.llx b/test/CodeGen/X86/2004-02-14-InefficientStackPointer.llx new file mode 100644 index 00000000000..f7e4cc84863 --- /dev/null +++ b/test/CodeGen/X86/2004-02-14-InefficientStackPointer.llx @@ -0,0 +1,5 @@ +; RUN: llvm-as < %s | llc -march=x86 | grep ESP | not grep sub + +int %test(int %X) { + ret int %X +}