[LLVMbugs] [Bug 10415] New: extra module asm directives?

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jul 19 17:15:48 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=10415

           Summary: extra module asm directives?
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: echristo at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Seems a bit weird.

For the test case 2006-01-23-FileScopeAsm.c:


[yendi:clang/test/CodeGen] echristo% clang -S -emit-llvm -o -
2006-01-23-FileScopeAsm.c
; ModuleID = '2006-01-23-FileScopeAsm.c'
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"
target triple = "x86_64-apple-macosx10.7.0"

module asm "foo1"
module asm ""
module asm "foo2"
module asm ""
module asm "foo3"
module asm ""
module asm "foo4"
module asm ""
module asm "foo5"

[yendi:clang/test/CodeGen] echristo% llvm-gcc -S -emit-llvm -o -
2006-01-23-FileScopeAsm.c
; ModuleID = '2006-01-23-FileScopeAsm.c'
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"
target triple = "x86_64-apple-darwin11.0"

module asm "foo1"
module asm "foo2"
module asm "foo3"
module asm "foo4"
module asm "foo5"

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list