[llvm] [IR] Add CallBr intrinsics support (PR #133907)
    Matt Arsenault via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Apr  2 03:48:16 PDT 2025
    
    
  
================
@@ -235,26 +235,26 @@ class IRTranslator : public MachineFunctionPass {
   bool translateStore(const User &U, MachineIRBuilder &MIRBuilder);
 
   /// Translate an LLVM string intrinsic (memcpy, memset, ...).
-  bool translateMemFunc(const CallInst &CI, MachineIRBuilder &MIRBuilder,
+  bool translateMemFunc(const CallBase &CI, MachineIRBuilder &MIRBuilder,
----------------
arsenm wrote:
I doubt we need most of these CallInst -> CallBase changes - you're not letting you use this with arbitrary intrinsics 
https://github.com/llvm/llvm-project/pull/133907
    
    
More information about the llvm-commits
mailing list