Mercurial > hg > CbC > CbC_llvm
diff test/CodeGen/X86/2004-02-14-InefficientStackPointer.ll @ 121:803732b1fca8
LLVM 5.0
author | kono |
---|---|
date | Fri, 27 Oct 2017 17:07:41 +0900 |
parents | 95c75e76d11b |
children |
line wrap: on
line diff
--- a/test/CodeGen/X86/2004-02-14-InefficientStackPointer.ll Fri Nov 25 19:14:25 2016 +0900 +++ b/test/CodeGen/X86/2004-02-14-InefficientStackPointer.ll Fri Oct 27 17:07:41 2017 +0900 @@ -1,5 +1,10 @@ -; RUN: llc < %s -march=x86 | grep -i ESP | not grep sub +; RUN: llc < %s | FileCheck %s + +target triple = "i686-unknown-unknown" define i32 @test(i32 %X) { - ret i32 %X +; CHECK-LABEL: test: +entry: + ret i32 %X +; CHECK-NOT: subl %esp }