[llvm] [DAGTypeLegalize] Legalize ISD::POISON as ISD::UNDEF for Float Type Legalization (PR #135056)

Alexander Richardson via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 9 13:13:01 PDT 2025


================
@@ -0,0 +1,15 @@
+; RUN: llc < %s -mtriple=riscv32  | FileCheck %s
+
+define void @b(ptr %p1, ptr %p2)  {
+; CHECK:        .cfi_startproc
----------------
arichardson wrote:

```suggestion
define void @b(ptr %p1, ptr %p2) nounwind {
```

That should remove the .cfi_startproc.

Also I'd suggest one function for each type?

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


More information about the llvm-commits mailing list