forked from OSchip/llvm-project
parent
9c7fbaef9b
commit
4c13ab61b3
|
|
@ -0,0 +1,7 @@
|
|||
; RUN: llvm-as < %s | llc -march=c | grep volatile
|
||||
|
||||
void %test(int* %P) {
|
||||
%X = volatile load int*%P
|
||||
volatile store int %X, int* %P
|
||||
ret void
|
||||
}
|
||||
Loading…
Reference in New Issue