Displaying 7 results from an estimated 7 matches for "operandbundledeft".
2018 Apr 04
1
Call printf with new args
...tf", printfType);
Function *F = cast<Function>(const_printf);
F->dump();
CallInst * opInst = B.CreateCall(F, args, "call");
It crashes with:
void llvm::CallInst::init(llvm::FunctionType*, llvm::Value*,
llvm::ArrayRef<llvm::Value*>,
llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >, const
llvm::Twine&): Assertion `(i >= FTy->getNumParams() || FTy->getParamType(i)
== Args[i]->getType()) && "Calling a function with a bad signature!"'
failed.
Any advices how to fix it? Thanks
-------------- next part --------------...
2020 Aug 03
2
Orc JIT v2 breaks OpenMP in 11.x branch?
...er: 'LLVM11.0.0' Reader: 'LLVM 11.0.0').
If I use a debug version of LLVM, compilation fails with a broken assertion:
.../llvm/lib/IR/Instructions.cpp:455: void
llvm::CallInst::init(llvm::FunctionType*, llvm::Va
lue*, llvm::ArrayRef<llvm::Value*>,
llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >, const
llvm::Twine&): Assertion `(i >
= FTy->getNumParams() || FTy->getParamType(i) == Args[i]->getType())
&& "Calling a function with a bad signature!"' failed.
The same code compiles correctly using clang from the command line. It
al...
2020 Aug 10
2
Orc JIT v2 breaks OpenMP in 11.x branch?
...gt; If I use a debug version of LLVM, compilation fails with a broken
> assertion:
> >
> > .../llvm/lib/IR/Instructions.cpp:455: void
> > llvm::CallInst::init(llvm::FunctionType*, llvm::Va
> > lue*, llvm::ArrayRef<llvm::Value*>,
> > llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >, const
> > llvm::Twine&): Assertion `(i >
> > = FTy->getNumParams() || FTy->getParamType(i) == Args[i]->getType())
> > && "Calling a function with a bad signature!"' failed.
> >
> > The same code compiles c...
2020 Aug 10
2
[EXTERNAL] Re: Orc JIT v2 breaks OpenMP in 11.x branch?
...debug version of LLVM, compilation fails with a broken assertion:
>> >
>> > .../llvm/lib/IR/Instructions.cpp:455: void
>> > llvm::CallInst::init(llvm::FunctionType*, llvm::Va
>> > lue*, llvm::ArrayRef<llvm::Value*>,
>> > llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >, const
>> > llvm::Twine&): Assertion `(i >
>> > = FTy->getNumParams() || FTy->getParamType(i) == Args[i]->getType())
>> > && "Calling a function with a bad signature!"' failed.
>> >
>> > The...
2020 Aug 10
2
[EXTERNAL] Re: Orc JIT v2 breaks OpenMP in 11.x branch?
...with a broken assertion:
> >>>>
> >>>> .../llvm/lib/IR/Instructions.cpp:455: void
> >>>> llvm::CallInst::init(llvm::FunctionType*, llvm::Va
> >>>> lue*, llvm::ArrayRef<llvm::Value*>,
> >>>> llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >, const
> >>>> llvm::Twine&): Assertion `(i >
> >>>> = FTy->getNumParams() || FTy->getParamType(i) == Args[i]->getType())
> >>>> && "Calling a function with a bad signature!"' failed.
> >...
2020 Aug 10
2
[EXTERNAL] Re: Orc JIT v2 breaks OpenMP in 11.x branch?
...;>>>
> >>>>>> .../llvm/lib/IR/Instructions.cpp:455: void
> >>>>>> llvm::CallInst::init(llvm::FunctionType*, llvm::Va
> >>>>>> lue*, llvm::ArrayRef<llvm::Value*>,
> >>>>>> llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >, const
> >>>>>> llvm::Twine&): Assertion `(i >
> >>>>>> = FTy->getNumParams() || FTy->getParamType(i) == Args[i]->getType())
> >>>>>> && "Calling a function with a bad signature!&quo...
2020 Aug 10
2
[EXTERNAL] Re: Orc JIT v2 breaks OpenMP in 11.x branch?
...>>>>>>>> .../llvm/lib/IR/Instructions.cpp:455: void
>>>>>>>> llvm::CallInst::init(llvm::FunctionType*, llvm::Va
>>>>>>>> lue*, llvm::ArrayRef<llvm::Value*>,
>>>>>>>> llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >, const
>>>>>>>> llvm::Twine&): Assertion `(i >
>>>>>>>> = FTy->getNumParams() || FTy->getParamType(i) == Args[i]->getType())
>>>>>>>> && "Calling a function with a bad signa...