[llvm-dev] undef * 0

Soham Chakraborty via llvm-dev llvm-dev at lists.llvm.org
Fri Sep 2 05:33:07 PDT 2016

What is the value of undef * 0 in LLVM?

According to its definition in  the LLVM IR reference;

"The string ‘undef‘ can be used anywhere a constant is expected..."

Am I correct to say that undef * 0 = 0 following this definition?

Best Regards,

More information about the llvm-dev mailing list