Displaying 2 results from an estimated 2 matches for "arm_clrex".
2015 Sep 25
2
Error compiling libc++ for ARMv6
...6 and earlier?
void ARMTargetLowering::emitAtomicCmpXchgNoStoreLLBalance(
IRBuilder<> &Builder) const {
if (Subtarget->hasV7Ops()) {
Module *M = Builder.GetInsertBlock()->getParent()->getParent();
Builder.CreateCall(llvm::Intrinsic::getDeclaration(M,
Intrinsic::arm_clrex));
}
}
-Rich
2015 Sep 26
2
Error compiling libc++ for ARMv6
...mitAtomicCmpXchgNoStoreLLBalance(
>> IRBuilder<> &Builder) const {
>> if (Subtarget->hasV7Ops()) {
>> Module *M = Builder.GetInsertBlock()->getParent()->getParent();
>> Builder.CreateCall(llvm::Intrinsic::getDeclaration(M,
>> Intrinsic::arm_clrex));
>> }
>> }
For v6, I guess we could do a fake strex to some dummy global?
Anyway, r248640, sorry about that!
-Ahmed
>> -Rich
>> _______________________________________________
>> LLVM Developers mailing list
>> llvm-dev at lists.llvm.org
>> http://l...