[PATCH] D111976: [DAG] Create fptosi.sat from clamped fptosi

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 25 04:21:08 PDT 2021


RKSimon added inline comments.


================
Comment at: llvm/test/CodeGen/X86/fpclamptosat.ll:1179
 entry:
   %conv = fptosi half %x to i128
   %spec.store.select = call i128 @llvm.smin.i128(i128 %conv, i128 9223372036854775807)
----------------
Should we be taking into account the maximum/minimum representable value of the half type as well here?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111976/new/

https://reviews.llvm.org/D111976



More information about the llvm-commits mailing list