Revert "Try to do some comparisons and nan creations in llvm"

This reverts commit b8a9e7b9b9db45b6d5dcfb05050e093afb28740e.