Files
llvm/test/Assembler/invalid-atomicrmw-add-must-be-integer-type.ll
Matt Arsenault 9bda9a4b47 Add atomicrmw operation to error messages
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@343656 91177308-0d34-0410-b5e6-96231b3b80d8
2018-10-03 02:37:15 +00:00

8 lines
206 B
LLVM

; 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
}