Mercurial > hg > CbC > CbC_llvm
annotate test/CodeGen/Mips/micromips-directives.ll @ 77:54457678186b LLVM3.6
LLVM 3.6
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 08 Sep 2014 22:06:00 +0900 |
parents | |
children |
rev | line source |
---|---|
77 | 1 ; This test checks if the '.set [no]micromips' directives |
2 ; are emitted before a function's entry label. | |
3 | |
4 ; RUN: llc -mtriple mipsel-unknown-linux -mcpu=mips32r2 -mattr=+micromips %s -o - | \ | |
5 ; RUN: FileCheck %s -check-prefix=CHECK-MM | |
6 ; RUN: llc -mtriple mipsel-unknown-linux -mcpu=mips32r2 -mattr=-micromips %s -o - | \ | |
7 ; RUN: FileCheck %s -check-prefix=CHECK-NO-MM | |
8 | |
9 define i32 @main() nounwind { | |
10 entry: | |
11 ret i32 0 | |
12 } | |
13 | |
14 ; CHECK-MM: .set micromips | |
15 ; CHECK-NO-MM: .set nomicromips | |
16 ; CHECK: main: |