1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 13:02:52 +02:00
llvm-mirror/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