[llvm] [MergeFunc] Fix crash caused by bitcasting ArrayType (PR #133259)
    Tobias Stadler via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Apr  2 09:46:41 PDT 2025
    
    
  
================
@@ -0,0 +1,38 @@
+; RUN: opt -S -passes=mergefunc < %s | FileCheck %s
+
+%A = type { double }
----------------
tobias-stadler wrote:
Added ptrcast test instead of bitcast. I checked the code in FunctionComparator and searched the tests, and couldn't find a type that causes a bitcast in the thunk function. 
https://github.com/llvm/llvm-project/pull/133259
    
    
More information about the llvm-commits
mailing list