Closed llvmbot closed 8 years ago
Are you referring to the unreachable code issue?
Yes. I have already changed the cleanup to catch-all-rethrow locally, which also allowed to remove some ugly hacks necessary to convince the runtime not to terminate when throwing inside the cleanup. This new code has some other issues which are not related to the codegen, but I think I have a solution for these, too.
Fixed in r257182.
Cool! The D test suite passes now with optimizations enabled (but 2 tests that need exceptions during cleanup). Thanks a lot.
Are you referring to the unreachable code issue?
Fixed in r257182.
Cool! The D test suite passes now with optimizations enabled (but 2 tests that need exceptions during cleanup). Thanks a lot.
Fixed in r257182.
Extended Description
Here's another one: The attached IR builds fine with llc.
If you run "opt -O3" on it first, compiling the output with llc to an object or assembly file produces:
Assertion failed: !KeyInfoT::isEqual(Val, EmptyKey) && !KeyInfoT::isEqual(Val, T ombstoneKey) && "Empty/Tombstone value shouldn't be inserted into map!", file C: \s\d\ldc\llvm\include\llvm/ADT/DenseMap.h, line 484