Logo
Explore Help
Sign In
mirrors/llvm-project
0
0
Fork 0
You've already forked llvm-project
mirror of https://github.com/llvm/llvm-project.git synced 2025-05-17 18:36:05 +00:00
Code Issues Projects Releases Wiki Activity
llvm-project/llvm/test/CodeGen/Mips/micromips-ase-function-attribute.ll

12 lines
276 B
LLVM
Raw Normal View History

[mips] Set microMIPS ASE flag 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
2017-11-24 14:00:47 +00:00
; RUN: llc -mtriple=mips-unknown-linux -filetype=obj %s -o - | \
[llvm-readobj] Change -long-option to --long-option in tests. NFC We use both -long-option and --long-option in tests. Switch to --long-option for consistency. In the "llvm-readelf" mode, -long-option is discouraged as it conflicts with grouped short options and it is not accepted by GNU readelf. While updating the tests, change llvm-readobj -s to llvm-readobj -S to reduce confusion ("s" is --section-headers in llvm-readobj but --symbols in llvm-readelf). llvm-svn: 359649
2019-05-01 05:27:20 +00:00
; RUN: llvm-readobj --mips-abi-flags | \
[mips] Set microMIPS ASE flag 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
2017-11-24 14:00:47 +00:00
; RUN: FileCheck --check-prefix=ASE-MICROMIPS %s
define void @_Z3foov() #0 {
entry:
ret void
}
attributes #0 = { "micromips" }
; ASE-MICROMIPS: microMIPS (0x800)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 2647ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API