aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Mips/elf_st_other.ll
blob: 8a5f20df8617b083f33e050414857f6bfd9acb91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; This tests value of ELF st_other field for function symbol table entries.
; For microMIPS value should be equal to STO_MIPS_MICROMIPS.

; RUN: llc -mtriple mipsel-unknown-linux -mcpu=mips32r2 -mattr=+micromips %s -o - | FileCheck %s

define i32 @main() nounwind {
entry:
  ret i32 0
}

; CHECK: .set	micromips
; CHECK: main: