[PATCH] D124692: [InstCombine] fix miscompile when casting int->FP->int

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 29 13:00:40 PDT 2022


spatel added a comment.

In D124692#3483317 <https://reviews.llvm.org/D124692#3483317>, @craig.topper wrote:

> Does DAGCombiner have the same bug are will you be patching it too?

Sure - that part is in `DAGCombiner::FoldIntToFPToInt()` and looks similar.


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

https://reviews.llvm.org/D124692



More information about the llvm-commits mailing list