[llvm] [MergeFunc] Fix crash caused by bitcasting ArrayType (PR #133259)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 2 02:34:40 PDT 2025


================
@@ -0,0 +1,38 @@
+; RUN: opt -S -passes=mergefunc < %s | FileCheck %s
+
+%A = type { double }
----------------
fhahn wrote:

Could you also add a test that requires a bitcast e.g. where one leaf type is double and the other `i64`? Not sure if such types would get handled by mergefunc though. 

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


More information about the llvm-commits mailing list