8 lines · plain
1; RUN: not llvm-as -disable-output %s 2>&1 | FileCheck %s2 3; CHECK: error: atomicrmw fsub operand must be a floating point type4define void @f(ptr %ptr) {5 atomicrmw fsub ptr %ptr, i32 2 seq_cst6 ret void7}8 1; RUN: not llvm-as -disable-output %s 2>&1 | FileCheck %s2 3; CHECK: error: atomicrmw fsub operand must be a floating point type4define void @f(ptr %ptr) {5 atomicrmw fsub ptr %ptr, i32 2 seq_cst6 ret void7}8