[PATCH] D91753: [GlobalISel] Add an isExtendedTrueVal helper.
Jessica Paquette via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 18 16:29:52 PST 2020
paquette created this revision.
paquette added reviewers: aemerson, arsenm.
Herald added subscribers: hiraditya, rovka.
Herald added a project: LLVM.
paquette requested review of this revision.
Herald added a subscriber: wdng.
Add a helper equivalent to `TargetLowering::isExtendedTrueVal` and test it.
This is necessary to implement one of the simplifications in `TargetLowering::SimplifySetCC`.
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.306259.patch
Type: text/x-patch
Size: 5103 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201119/a7d4413b/attachment.bin>
More information about the llvm-commits
mailing list