llvm-project/llvm/test/MC/Mips/bopt-directive.s

17 lines
388 B
ArmAsm
Raw Normal View History

# RUN: llvm-mc -arch=mips -mcpu=mips32 %s 2>&1 | FileCheck %s
# We don't support the bopt option in the integrated assembler. Given it's
# single pass nature, it would be quite difficult to implement currently.
# Ensure we parse the bopt & nobopt directives and warn in the bopt case.
# CHECK: warning: 'bopt' feature is unsupported
# CHECK: nop
.text
f:
.set bopt
g:
.set nobopt
nop