1# RUN: llvm-mc %s -arch=mips -mcpu=mips32r6 -mattr=+ginv | \ 2# RUN: FileCheck %s -check-prefix=CHECK-ASM 3# 4# RUN: llvm-mc %s -arch=mips -mcpu=mips32r6 -filetype=obj -o - -mattr=+ginv | \ 5# RUN: llvm-readobj -A - | \ 6# RUN: FileCheck %s -check-prefix=CHECK-OBJ 7 8# CHECK-ASM: .module noginv 9 10# Check that MIPS.abiflags has no GINV flag. 11# CHECK-OBJ: MIPS ABI Flags { 12# CHECK-OBJ: ASEs [ (0x0) 13# CHECK-OBJ-NOT: ASEs [ (0x20000) 14# CHECK-OBJ-NOT: GINV (0x20000) 15# CHECK-OBJ: } 16 17 .module noginv 18 19# FIXME: Test should include gnu_attributes directive when implemented. 20# An explicit .gnu_attribute must be checked against the effective 21# command line options and any inconsistencies reported via a warning. 22