[PATCH] D114964: [DAG] Create fptoui.sat from clamped fptoui
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 20 07:11:26 PST 2022
RKSimon added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:4915
+
+ unsigned BW = (N1C->getAPIntValue() + 1).exactLogBase2();
+ EVT FPVT = N0.getOperand(0).getValueType();
----------------
Isn't this (C1 + 1).exactLogBase2()?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114964/new/
https://reviews.llvm.org/D114964
More information about the llvm-commits
mailing list