[PATCH] D91753: [GlobalISel] Add an isExtendedTrueVal helper.

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 7 12:13:23 PDT 2021


paquette updated this revision to Diff 335898.
paquette added a comment.

The original code was confusing. Rewrote this to use `getICmpTrueVal` + APInt. I think this simplifies the behaviour for s1 quite a bit.


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

https://reviews.llvm.org/D91753

Files:
  llvm/include/llvm/CodeGen/GlobalISel/Utils.h
  llvm/lib/CodeGen/GlobalISel/Utils.cpp
  llvm/unittests/CodeGen/GlobalISel/GISelUtilsTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91753.335898.patch
Type: text/x-patch
Size: 5927 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210407/d07d0eb9/attachment.bin>


More information about the llvm-commits mailing list