view test/MC/Mips/bopt-directive.s @ 121:803732b1fca8

LLVM 5.0
author kono
date Fri, 27 Oct 2017 17:07:41 +0900
parents
children
line wrap: on
line source

# 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