mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-25 21:48:12 +00:00
0dd888baec
This patch fixes an issue where microMIPS ASE flag is not set when a function has micromips attribute or when .set micromips directive is used. Differential Revision: https://reviews.llvm.org/D40316 llvm-svn: 318948
11 lines
257 B
ArmAsm
11 lines
257 B
ArmAsm
# RUN: llvm-mc -triple=mips-unknown-linux -filetype=obj %s -o - | \
|
|
# RUN: llvm-readobj -mips-abi-flags | \
|
|
# RUN: FileCheck --check-prefix=ASE-MICROMIPS %s
|
|
|
|
.set micromips
|
|
.ent _Z3foov
|
|
_Z3foov:
|
|
addiu $sp, $sp, -8
|
|
|
|
# ASE-MICROMIPS: microMIPS (0x800)
|