================
@@ -84,12 +84,12 @@ define void @pr66984(ptr %arg) personality ptr
@__CxxFrameHandler3 {
; X86_64-NEXT: movq %rcx, {{[-0-9]+}}(%r{{[sb]}}p) # 8-byte Spill
; X86_64-NEXT: .Ltmp0:
; X86_64-NEXT: callq throw
+; X86_64-NEXT: nop
----------------
efriedma-quic wrote:
I think this is optimized code.
I didn't really think that deeply when I suggested looking for a block with no
successors. In this case, you end up with two edges: an unwind edge, and a
fallthrough edge to a an empty block with no successors. Which is a pattern
you could detect, I guess.
I don't want the initial patch here to get too complicated here, though, so it
would be fine to just file an issue for this, and look into it later.
https://github.com/llvm/llvm-project/pull/144745
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits