Sign in
llvm
/
llvm-project
/
a87782c34d667d1c1a18fe82a9a7abfc72fd345b
/
.
/
llvm
/
test
/
Assembler
/
invalid-atomicrmw-fadd-must-be-fp-type.ll
blob: 3185d9505db9a2fdd1013386d0f01e4a05a8979d [
file
] [
log
] [
blame
]
; RUN: not llvm-as -disable-output %s 2>&1 | FileCheck %s
; CHECK: error: atomicrmw fadd operand must be a floating point type
define
void
@f
(
i32
*
%ptr
)
{
atomicrmw
fadd
i32
*
%ptr
,
i32
2
seq_cst
ret
void
}