Displaying 3 results from an estimated 3 matches for "_ztin4llvm8icmpinste".
2015 Aug 21
2
loop unrolling introduces conditional branch
...ser main.o `llvm-config --libs all` `llvm-config --ldflags
> --system-libs` -lpthread -ldl -rdynamic -ltinfo
> main.o:(.data.rel.ro._ZTIN4llvm17GetElementPtrInstE[_ZTIN4llvm17GetElementPtrInstE]+0x10):
> undefined reference to `typeinfo for llvm::Instruction'
> main.o:(.data.rel.ro._ZTIN4llvm8ICmpInstE[_ZTIN4llvm8ICmpInstE]+0x10):
> undefined reference to `typeinfo for llvm::CmpInst'
>
> BTW, in my code, I use LLVM API (IRBuilder and so on) to generate one
> Module and then use PassManager to add several passes. And my Makefile is
> pretty simple, it looks like this:
>
>...
2015 Aug 20
2
loop unrolling introduces conditional branch
Hi Xiangyang,
The algorithm for loop unrolling was changed post-3.5 to do more what you'd
expect. If you use 3.6 or 3.7 you'll likely get better results.
Cheers,
James
On Thu, 20 Aug 2015 at 18:09 Philip Reames via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> On 08/20/2015 07:38 AM, Xiangyang Guo via llvm-dev wrote:
>
> Hi,
>
> I want to use loop unrolling
2015 Aug 22
2
loop unrolling introduces conditional branch
...all` `llvm-config --ldflags
>>> --system-libs` -lpthread -ldl -rdynamic -ltinfo
>>> main.o:(.data.rel.ro._ZTIN4llvm17GetElementPtrInstE[_ZTIN4llvm17GetElementPtrInstE]+0x10):
>>> undefined reference to `typeinfo for llvm::Instruction'
>>> main.o:(.data.rel.ro._ZTIN4llvm8ICmpInstE[_ZTIN4llvm8ICmpInstE]+0x10):
>>> undefined reference to `typeinfo for llvm::CmpInst'
>>>
>>> BTW, in my code, I use LLVM API (IRBuilder and so on) to generate one
>>> Module and then use PassManager to add several passes. And my Makefile is
>>> prett...