[llvm-commits] C & OCaml bindings for volatile loads and stores

Wojciech Matyjewicz wmatyjewicz at fastmail.fm
Fri Sep 16 04:58:31 PDT 2011


Hi,

I've attached a patch that extends the C & OCaml bindings with the 
possibility of creating volatile load/store instructions.

The alternative approach would introduce setter/getter functions instead 
of new "constructors". However, since the volatile attribute is defined 
separately for LoadInst and StoreInst, it would require two pairs of 
setter & getter functions...

(I think I can commit the patch myself. I should have commit access 
granted a few years ago.)

Bye,
Wojtek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: volatile.diff
Type: text/x-diff
Size: 5669 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110916/28a760bb/attachment.diff>


More information about the llvm-commits mailing list