repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Signed saturation patterns
[llvm-complete.git]
/
test
/
Assembler
/
invalid-atomicrmw-add-must-be-integer-type.ll
blob
1fc00b0b90d73c32eab97b06e05ff4e7dcbd8e01
1
; RUN: not llvm-as -disable-output %s 2>&1 | FileCheck %s
2
3
; CHECK: error: atomicrmw add operand must be an integer
4
define void @f(float* %ptr) {
5
atomicrmw add float* %ptr, float 1.0 seq_cst
6
ret void
7
}