[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / CodeGen / PowerPC / no-dead-strip.ll
blobddd955e7db53196ed745ebf6813747224f6bdd48
1 ; RUN: llc -verify-machineinstrs -mtriple=powerpc-unknown-linux-gnu < %s | FileCheck %s
3 ; CHECK: .section  .bss,"aw",@nobits
4 ; CHECK: .weak X
5 ; CHECK-LABEL: X:
6 ; CHECK: .long 0
7 ; CHECK: .size X, 4
9 @X = weak global i32 0          ; <i32*> [#uses=1]
10 @.str = internal constant [4 x i8] c"t.c\00", section "llvm.metadata"          ; <[4 x i8]*> [#uses=1]
11 @llvm.used = appending global [1 x i8*] [ i8* bitcast (i32* @X to i8*) ], section "llvm.metadata"       ; <[1 x i8*]*> [#uses=0]