1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/test/MC/AArch64/single-slash.s
Tim Northover 19c8a66443 AArch64: allow MOV (imm) alias to be printed
The backend has been around for years, it's pretty ridiculous that we can't
even use the preferred form for printing "MOV" aliases. Unfortunately, TableGen
can't handle the complex predicates when printing so it's a bunch of nasty C++.
Oh well.

llvm-svn: 272865
2016-06-16 01:42:25 +00:00

7 lines
185 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: mov x0, #16
movz x0, #(32 / 2)