repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
IR: de-duplicate two CmpInst routines (NFC) (#116866)
[llvm-project.git]
/
llvm
/
test
/
Assembler
/
opaque-ptr-cmpxchg.ll
blob
ad581ffc36ac0ccd4b5058a0be2bf698308da02b
1
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
2
3
; CHECK: compare value and new value type do not match
4
define void @cmpxchg(ptr %p, i32 %a, i64 %b) {
5
%val_success = cmpxchg ptr %p, i32 %a, i64 %b acq_rel monotonic
6
ret void
7
}