Add LLVM IR functionality to support exceptions and safe division functions that make use of these exceptions.