blob: 5f2f67cdc782266afa218e83583ab3562f7cbf7f [file] [log] [blame]
; RUN: not llvm-as -disable-output %s 2>&1 | FileCheck %s
; CHECK: error: atomicrmw add operand must be an integer
define void @f(ptr %ptr) {
atomicrmw add ptr %ptr, float 1.0 seq_cst
ret void
}