[llvm-dev] SmallVector error in loop analysis pass (original) (raw)

Fatima Ahmed via llvm-dev llvm-dev at lists.llvm.org
Sun Dec 2 06:30:42 PST 2018


Hey all, I'm new to LLVM and have been trying to run a loop analysis pass. I'm getting this error when I build the pass:

In file included from /home/fatima/Documents/llvm5/lib/Transforms/loopcnt/loopcnt.cpp:4: In file included from /home/fatima/Documents/llvm5/include/llvm/Analysis/LoopPass.h🔞 In file included from /home/fatima/Documents/llvm5/include/llvm/Analysis/LoopInfo.h:47: In file included from /home/fatima/Documents/llvm5/include/llvm/IR/PassManager.h:46: /home/fatima/Documents/llvm5/include/llvm/IR/Module.h:344:43: error: no matching       constructor for initialization of 'SmallVector<llvm::Type *,       sizeof...(ArgsTy)>'     SmallVector<Type*, sizeof...(ArgsTy)> ArgTys{Args...};

I tried running it with llvm 7 and now 5 but getting the same error. The code is from this link https://github.com/SharmisthaWWE/LLVM-Pass-Project---Loop-Iteration-Count

Thanks. Regards,Fatima Ahmed -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181202/67227f86/attachment.html>



More information about the llvm-dev mailing list