[llvm-dev] find unentered loops in the LLVM IR (original) (raw)

Kyle Duty via llvm-dev llvm-dev at lists.llvm.org
Wed Mar 10 23:10:46 PST 2021


Hello,

I'm trying to find unentered loops in LLVM IR, so to achieve that, I tried to write a simple if-else with unentered loop on Godbolt.

I'm trying to understand the LLVM IR produced by a Haskell code, and I have no previous experience with Haskell. I tried "-emit-llvm" like I used to with C++. I am not sure about the flags used as the error says "unrecognised flag: -emit-llvm".

Can someone help me with an example?

Thanks, Kyle -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210311/e0135399/attachment.html>



More information about the llvm-dev mailing list