How can I write volatile LDS operations in IL? In other words, I have the following IL:
lds_store_id(1) r1, r2
lds_load_id(1) r3, r1
I want to make sure the CAL compiler actually emits both LDS memory accesses instead of optimizing it by passing the value in a register.