reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
; 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
}