[llvm] AMDGPU/GlobalISel: add RegBankLegalize rules for bitfield extract (PR #132381)
    Nicolai Hähnle via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Mar 24 13:17:53 PDT 2025
    
    
  
================
@@ -225,6 +228,103 @@ void RegBankLegalizeHelper::lower(MachineInstr &MI,
     MI.eraseFromParent();
     break;
   }
+  case Div_BFE: {
----------------
nhaehnle wrote:
Yes, that makes sense.
Actually, this could be a motivation for being able to directly specify a helper function to be used as part of the legalizer rule definition...
https://github.com/llvm/llvm-project/pull/132381
    
    
More information about the llvm-commits
mailing list