[PATCH] D113199: [AArch64] Combine fptoi.sat(fmul) to fixed point cvtf
    Dave Green via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Nov  4 09:49:21 PDT 2021
    
    
  
dmgreen created this revision.
dmgreen added reviewers: SjoerdMeijer, samtebbs, efriedma, t.p.northover.
Herald added subscribers: hiraditya, kristof.beyls.
dmgreen requested review of this revision.
Herald added a project: LLVM.
We already have patterns for fptosi and fptoui plus fmul to fixed point convert, this adds equivalent patterns for fptosi.sat and fptoui.sat, which should apply equally well for the legal saturating variants.
https://reviews.llvm.org/D113199
Files:
  llvm/lib/Target/AArch64/AArch64InstrInfo.td
  llvm/test/CodeGen/AArch64/fcvt-fixed.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113199.384785.patch
Type: text/x-patch
Size: 7526 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211104/5bee6b8b/attachment.bin>
    
    
More information about the llvm-commits
mailing list