mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-29 13:29:28 +00:00
As X86MCAsmInfoDarwin uses '##' as CommentString although a single '#' starts a comment a workaround for this special case is added. Fixes divisions in constant expressions for the AArch64 assembler and other targets which use '//' as CommentString. Patch by Janne Grunau! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215615 91177308-0d34-0410-b5e6-96231b3b80d8
7 lines
188 B
ArmAsm
7 lines
188 B
ArmAsm
// RUN: llvm-mc -triple aarch64-none-linux-gnu < %s | FileCheck %s
|
|
|
|
// Test that a single slash is not mistaken as the start of comment.
|
|
|
|
//CHECK: movz x0, #0x10
|
|
movz x0, #(32 / 2)
|