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
[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git]
/
llvm
/
test
/
Assembler
/
cmpxchg-ordering-2.ll
blob
5bbb7e8b103680ce16a57afb2c5ee422fcc1d40f
1
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
2
3
define void @f(i32* %a, i32 %b, i32 %c) {
4
; CHECK: invalid cmpxchg failure ordering
5
%x = cmpxchg i32* %a, i32 %b, i32 %c acq_rel unordered
6
ret void
7
}