[PATCH] C API: implement LLVM{Get,Set}InstructionAlignment

Anders Waldenborg anders at 0x63.nu
Wed Oct 16 12:53:02 PDT 2013


  Some functions are overloaded to handle different Value types. e.g LLVMGetOperand which handles both MDNode and User. So it should be possible to extend LLVM{Get,Set}Alignment to handle load/store alignment.

  But it may be clearer using separate functions. Not sure.

http://llvm-reviews.chandlerc.com/D1910



More information about the llvm-commits mailing list