Sign in
llvm
/
llvm
/
8924ea3d57d5fdfc11ce7562c3eaf0ce127ebc86
/
.
/
test
/
Assembler
/
invalid-atomicrmw-add-must-be-integer-type.ll
blob: 1fc00b0b90d73c32eab97b06e05ff4e7dcbd8e01 [
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
(
float
*
%ptr
)
{
atomicrmw
add
float
*
%ptr
,
float
1.0
seq_cst
ret
void
}