diff --git a/hpvm/tools/hpvm-clang/main.py.in b/hpvm/tools/hpvm-clang/main.py.in index 6d3c4595ead0c30ef5cca090d92cd78432ca9240..f20bae4df9a461bb0714af54a95e36e3a424816d 100644 --- a/hpvm/tools/hpvm-clang/main.py.in +++ b/hpvm/tools/hpvm-clang/main.py.in @@ -40,6 +40,9 @@ def compile_hpvm_c( ): from subprocess import check_output + # FIXME: Added this because Exceptions are not supported in HPVM. + flags = (flags or []) + ["no-exceptions"] + passes = ["LLVMBuildDFG"] pass_flags = ["buildDFG"] if tensor_target == "tensor":