[PATCH] D67105: [TargetLowering] Fix another potential FPE in expandFP_TO_UINT

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 8 08:53:56 PDT 2019


xbolva00 added inline comments.


================
Comment at: lib/CodeGen/SelectionDAG/TargetLowering.cpp:5732
+    // IntOfs = select Sel, 0, 0x8000000000000000
+    // Result = fp_to_sint(Val - FltOfs) ^ IntOfs
 
----------------
Val is Src? New comment is confusing


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

https://reviews.llvm.org/D67105





More information about the llvm-commits mailing list