Scalar's operator/ has an inverted test for the LHS being zero.
I've also noticed that int->float conversion in Scalar seems incorrect. At least, Scalar.h claims that Scalar follows C promotion rules, but int->float conversion is done using bitwise reinterpretation rather than preserving the value. I have a patch for this, but I don't know whether or not it's correct to change.
Allright, we got this one.
davide@Davidinos-Mac-Pro ~/w/l/l/lldb> git llvm push
Pushing 1 commit:
55f24c19d1c [Core] Correctly handle float division in Scalar.
Transmitting file data ..done
Committed revision 328649.
Committed 55f24c19d1c to svn.