aboutsummaryrefslogtreecommitdiff
path: root/test/MC/Mips/bopt-directive.s
blob: 63e2a05281a83cdefd8f9fdfc5c35bcb270e83bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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