# RUN: not llvm-mc -triple=hexagon < %s 2>&1 | \
# RUN: FileCheck %s --check-prefix=CHECK-STRICT
# RUN: not llvm-mc -triple=hexagon -relax-nv-checks < %s 2>&1 | \
# RUN: FileCheck %s --check-prefix=CHECK-RELAXED
# CHECK-STRICT: :10:3: note: Register producer has the opposite predicate sense as consumer
# CHECK-RELAXED: :10:3: note: Register producer has the opposite predicate sense as consumer
{
# invalid: r0 definition predicated on the opposite condition
if (p3) r0 =
if (!p3) = r0.new
}
# CHECK-STRICT: :18:3: note: FPU instructions cannot be new-value producers for jumps
# CHECK-RELAXED: :18:3: note: FPU instructions cannot be new-value producers for jumps
# CHECK-RELAXED: :19:3: error: Instruction does not have a valid new register producer
{ # invalid: new-value compare-and-jump cannot use floating point value
r0 =
if (