Files
llvm/test/Assembler/invalid-atomicrmw-fsub-must-be-fp-type.ll
Matt Arsenault 52f6127659 Reapply "IR: Add fp operations to atomicrmw"
This reapplies commits r351778 and r351782 with
RISCV test fixes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351850 91177308-0d34-0410-b5e6-96231b3b80d8
2019-01-22 18:18:02 +00:00

8 lines
211 B
LLVM

; RUN: not llvm-as -disable-output %s 2>&1 | FileCheck %s
; CHECK: error: atomicrmw fsub operand must be a floating point type
define void @f(i32* %ptr) {
atomicrmw fsub i32* %ptr, i32 2 seq_cst
ret void
}