1) Is it possible to disable any optimization in clang?
2) Is there a way to remove any phi command from the generated llvm code?
I use clang with options: clang test.c -Wimplicit -emit-llvm -g -O0 -c -o result.bc
And for some clang emit llvm code source files with phi instructions. I find any wat to get llvm file without phi instructions.
source
share