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.
Extended Description
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.