[llvm-commits] [llvm] r81320 - /llvm/trunk/test/CodeGen/X86/darwin-quote.ll

Chris Lattner sabre at nondot.org
Tue Sep 8 23:19:35 PDT 2009


Author: lattner
Date: Wed Sep  9 01:19:34 2009
New Revision: 81320

URL: http://llvm.org/viewvc/llvm-project?rev=81320&view=rev
Log:
add a testacse for the objc problem that required required r81305
to be temporarily disabled.

Added:
    llvm/trunk/test/CodeGen/X86/darwin-quote.ll

Added: llvm/trunk/test/CodeGen/X86/darwin-quote.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/darwin-quote.ll?rev=81320&view=auto

==============================================================================
--- llvm/trunk/test/CodeGen/X86/darwin-quote.ll (added)
+++ llvm/trunk/test/CodeGen/X86/darwin-quote.ll Wed Sep  9 01:19:34 2009
@@ -0,0 +1,15 @@
+; RUN: llc < %s -mtriple=i386-apple-darwin  | FileCheck %s
+
+
+define internal i64 @baz() nounwind {
+  %tmp = load i64* @"+x"
+  ret i64 %tmp
+; CHECK: _baz:
+; CHECK:    movl "L_+x$non_lazy_ptr", %ecx
+}
+
+
+@"+x" = external global i64
+
+; CHECK: "L_+x$non_lazy_ptr":
+; CHECK:	.indirect_symbol "_+x"





More information about the llvm-commits mailing list