[llvm] [RISCV] Support outlining of CFI instructions in the machine outliner (PR #166149)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 5 21:13:45 PST 2025


================
@@ -3,27 +3,33 @@
 # RUN: llc -mtriple=riscv64 -x mir -run-pass=machine-outliner -simplify-mir -verify-machineinstrs < %s \
 # RUN: | FileCheck -check-prefixes=OUTLINED,RV64I-MO %s
 
-# CFIs are invisible (they can be outlined, but won't actually impact the outlining result) if there
-# is no need to unwind. CFIs will be stripped when we build outlined functions.
+# Combined tests for outlining with CFI instructions on RISCV:
----------------
topperc wrote:

```suggestion
# Combined tests for outlining with CFI instructions on RISC-V:
```

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


More information about the llvm-commits mailing list