1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/CodeGen/ARM/preferred-align.ll
Francis Visoiu Mistrih cd4ff3e8fc [CodeGen] Always use printReg to print registers in both MIR and debug
output

As part of the unification of the debug format and the MIR format,
always use `printReg` to print all kinds of registers.

Updated the tests using '_' instead of '%noreg' until we decide which
one we want to be the default one.

Differential Revision: https://reviews.llvm.org/D40421

llvm-svn: 319445
2017-11-30 16:12:24 +00:00

22 lines
400 B
LLVM

; RUN: llc -mtriple=armv7-linux-gnueabi %s -o - | FileCheck %s
@var_agg = global {i8, i8} zeroinitializer
; CHECK: .globl var_agg
; CHECK-NEXT: .p2align 2
@var1 = global i1 zeroinitializer
; CHECK: .globl var1
; CHECK-NOT: .p2align
@var8 = global i8 zeroinitializer
; CHECK: .globl var8
; CHECK-NOT: .p2align
@var16 = global i16 zeroinitializer
; CHECK: .globl var16
; CHECK-NEXT: .p2align 1