mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
018ddbad9c
if not in micromips mode. The test (elf_st_other.ll) was renamed as the name and description didn't make sense as the test wasn't checking any symbol table entry. Differential Revision: http://reviews.llvm.org/D3346 llvm-svn: 206377
17 lines
498 B
LLVM
17 lines
498 B
LLVM
; This test checks if the '.set [no]micromips' directives
|
|
; are emitted before a function's entry label.
|
|
|
|
; RUN: llc -mtriple mipsel-unknown-linux -mcpu=mips32r2 -mattr=+micromips %s -o - | \
|
|
; RUN: FileCheck %s -check-prefix=CHECK-MM
|
|
; RUN: llc -mtriple mipsel-unknown-linux -mcpu=mips32r2 -mattr=-micromips %s -o - | \
|
|
; RUN: FileCheck %s -check-prefix=CHECK-NO-MM
|
|
|
|
define i32 @main() nounwind {
|
|
entry:
|
|
ret i32 0
|
|
}
|
|
|
|
; CHECK-MM: .set micromips
|
|
; CHECK-NO-MM: .set nomicromips
|
|
; CHECK: main:
|