Atomic load/store must explicit define alignment.
This commit is contained in:
parent
f479f85676
commit
5e15b27909
6 changed files with 78 additions and 14 deletions
|
|
@ -56,13 +56,15 @@ LLVMValueRef LLVMBuildFence(LLVMBuilderRef builder, const char* ordering,
|
|||
* Wraps IRBuilder::CreateLoad, LoadInst::setAtomic
|
||||
*/
|
||||
LLVMValueRef LLVMBuildAtomicLoad(LLVMBuilderRef builder, LLVMValueRef ptr,
|
||||
const char* ordering, int crossthread);
|
||||
unsigned align, const char* ordering,
|
||||
int crossthread);
|
||||
/*
|
||||
* Wraps IRBuilder::CreateStore, StoreInst::setAtomic
|
||||
*/
|
||||
LLVMValueRef LLVMBuildAtomicStore(LLVMBuilderRef builder,
|
||||
LLVMValueRef ptr, LLVMValueRef val,
|
||||
const char* ordering, int crossthread);
|
||||
unsigned align, const char* ordering,
|
||||
int crossthread);
|
||||
|
||||
/*
|
||||
* Wraps IRBuilder::CreateAtomicRMW
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue