[PATCH] D72263: GlobalISel: Correct result type for G_FCMP in lowerFPTOUI

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 6 06:17:44 PST 2020


arsenm created this revision.
arsenm added reviewers: Petar.Avramovic, paquette, aemerson, aditya_nandakumar, dsanders.
Herald added subscribers: volkan, atanasyan, hiraditya, rovka, wdng, sdardis.
Herald added a project: LLVM.

Using the final result type doesn't make any sense. Use the natural
default boolean type for the select condition.


https://reviews.llvm.org/D72263

Files:
  llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
  llvm/test/CodeGen/Mips/GlobalISel/legalizer/fptosi_and_fptoui.mir
  llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/fptosi_and_fptoui.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72263.236345.patch
Type: text/x-patch
Size: 14593 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200106/0d44573a/attachment.bin>


More information about the llvm-commits mailing list