[llvm-dev] How to prevent clang/llvm from generating floating-point instructions?
Xiaochu Liu via llvm-dev
llvm-dev at lists.llvm.org
Wed Mar 16 11:49:47 PDT 2016
Dear there,
I was trying to compile a code with only integer type variables and
integer operations. Clang/llvm kept showing me llvm code with
floating-point instructions (fmul, fadd, fptosi, etc.). Is there a way
in Clang or llvm to stop the compiler from doing that? My experiment
does not allow floating-point operations...
Thanks,
Xiaochu
More information about the llvm-dev
mailing list