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?