[llvm] Add SPIRV lowering for intrinsics @llvm.fptosi.sat.* and @llvm.fptoui.sat.*  (PR #125805)
    Vishakh Prakash via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Feb  6 00:29:18 PST 2025
    
    
  
Vishakh2012 wrote:
> I'm a little concerned that this isn't using existing GlobalISel legalization infrastructure; LegalizerHelper::widenScalar already has code to handle widening G_FPTOSI_SAT.
The issue I am facing is that even before the gMIR reaches the legalize it is getting widened, probably something that is being done in the IRTranslator, not sure though, any idea?
https://github.com/llvm/llvm-project/pull/125805
    
    
More information about the llvm-commits
mailing list