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-xchg-must-be-integer-or-fp-type.ll
blob
d0a794bd0244a028a66ce14eba2aa067b882c872
1
; RUN: not llvm-as -disable-output %s 2>&1 | FileCheck %s
2
3
; CHECK: error: atomicrmw xchg operand must be an integer or floating point type
4
define void @f(i32** %ptr) {
5
atomicrmw xchg i32** %ptr, i32* null seq_cst
6
ret void
7
}