[llvm] [ShrinkWrap] Modify shrink wrapping to accommodate functions terminated by no-return blocks (PR #167548)

Sushant Gokhale via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 23 23:54:52 PST 2025


================
@@ -0,0 +1,76 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6
+; RUN: llc -mtriple=aarch64 -o - %s | FileCheck %s
+
+ at exception = external hidden constant { ptr, ptr, ptr }
+
+define noundef i32 @early_exit_or_throw(i32 %in) personality ptr @__gxx_personality_v0 {
----------------
sushgokh wrote:

maybe name it as "call_with_noret" ? "early_exit" is not the right word here

https://github.com/llvm/llvm-project/pull/167548


More information about the llvm-commits mailing list