[llvm-commits] [llvm] r148034 - /llvm/trunk/test/MC/X86/intel-syntax.ll
Matt Beaumont-Gay
matthewbg at google.com
Thu Jan 12 11:53:01 PST 2012
This test fails on several buildbots; please revert.
http://lab.llvm.org:8011/builders/clang-x86_64-debian/builds/1912/steps/test-llvm/logs/intel-syntax.ll
On Thu, Jan 12, 2012 at 10:40, Devang Patel <dpatel at apple.com> wrote:
> Author: dpatel
> Date: Thu Jan 12 12:40:46 2012
> New Revision: 148034
>
> URL: http://llvm.org/viewvc/llvm-project?rev=148034&view=rev
> Log:
> Add test case to check intel syntax parsing.
>
> Added:
> llvm/trunk/test/MC/X86/intel-syntax.ll
>
> Added: llvm/trunk/test/MC/X86/intel-syntax.ll
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/X86/intel-syntax.ll?rev=148034&view=auto
> ==============================================================================
> --- llvm/trunk/test/MC/X86/intel-syntax.ll (added)
> +++ llvm/trunk/test/MC/X86/intel-syntax.ll Thu Jan 12 12:40:46 2012
> @@ -0,0 +1,23 @@
> +; RUN: llc %s -o %t1.s
> +; RUN: llvm-mc %t1.s -filetype=obj -o %t1.o
> +; RUN: llc %s -x86-asm-syntax=intel -o %t2.s
> +; RUN: llvm-mc %t2.s -x86-asm-syntax=intel -filetype=obj -o %t2.o
> +; RUN: diff %t1.o %t2.o
> +
> +target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
> +target triple = "x86_64-apple-macosx10.7.2"
> +
> +define i32 @foo() nounwind uwtable ssp {
> +entry:
> + %i = alloca i32, align 4
> + %l = alloca i64, align 8
> + %c = alloca i8, align 1
> + store i32 3, i32* %i, align 4
> + store i64 123, i64* %l, align 8
> + store i8 97, i8* %c, align 1
> + %0 = load i32* %i, align 4
> + %add = add nsw i32 %0, 1
> + store i32 %add, i32* %i, align 4
> + %1 = load i32* %i, align 4
> + ret i32 %1
> +}
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list