Hi
I am generating llvm IR using
clang -cc1 -emit-llvm x.c
which seems to be generating 64bit IR
Is there a way to generate 32bit IR.
I tried -m32 with clang but that did not work with cc1 option.
Thanks
Hi
I am generating llvm IR using
clang -cc1 -emit-llvm x.c
which seems to be generating 64bit IR
Is there a way to generate 32bit IR.
I tried -m32 with clang but that did not work with cc1 option.
Thanks
You don’t need to pass -cc1. Try this to verify:
clang x.c -m32 -emit-llvm -S -o -