clang compiler is not working for 'opt' command

Viewed 325

opt command not working for CLANG compiler, installed CLANG and LLVM, after I ran

clang++ -emit-llvm -S test.cpp -o prog.ll

it is working well and good but once I tried running the 'opt'

opt --dot-cfg prog.ll

I am getting the error as

'opt' is not recognized as an internal or external command,
operable program or batch file.'
0 Answers
Related