Sign in
llvm
/
llvm-project
/
llvm
/
refs/heads/master
/
.
/
test
/
Assembler
/
invalid-atomicrmw-fadd-must-be-fp-type.ll
blob: 1088333625d9588f9a68b312bab1e692174efd3a [
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
(
ptr
%ptr
)
{
atomicrmw
fadd
ptr
%ptr
,
i32
2
seq_cst
ret
void
}