[llvm-bugs] [Bug 27784] New: llc emits AT&T-mnemonic when using -O0 --x86-asm-syntax=intel
    via llvm-bugs 
    llvm-bugs at lists.llvm.org
       
    Mon May 16 16:17:30 PDT 2016
    
    
  
https://llvm.org/bugs/show_bug.cgi?id=27784
            Bug ID: 27784
           Summary: llc emits AT&T-mnemonic when using -O0
                    --x86-asm-syntax=intel
           Product: clang
           Version: 3.8
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: thrimbor.github at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified
Created attachment 16376
  --> https://llvm.org/bugs/attachment.cgi?id=16376&action=edit
FreeBASIC code triggering the bug, along with LLVM-IR and assembly files.
When using -O0 in combination with --x86-asm-syntax=intel, llc produces
assembly which contains the "movabs"-mnemonic which makes the GNU assembler
fail. Replacing the "movabs" with a normal "mov" seems to resolve the issue.
Also, this doesn't seem to happen when using optimization levels other than
-O0.
The LLVM-IR-code which triggered this behavior was generated by the
FreeBASIC-compiler, sources are attached.
-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160516/942a8471/attachment.html>
    
    
More information about the llvm-bugs
mailing list