hanchenye-llvm-project/llvm/test/Regression/CodeGen/CBackend/2005-02-14-VolatileOperatio...

8 lines
145 B
LLVM

; 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
}