[PATCH] D95566: [GlobalISel] Implement computeKnownBits for G_ASSERT_ZEXT
Jessica Paquette via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 27 14:39:31 PST 2021
paquette created this revision.
paquette added reviewers: aemerson, arsenm.
Herald added subscribers: hiraditya, rovka.
paquette requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.
It's the same as the ZEXT/TRUNC case, except SrcBitWidth is given by the immediate operand.
Update KnownBitsTest.cpp and a MIR test for a concrete example.
https://reviews.llvm.org/D95566
Files:
llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
llvm/test/CodeGen/AArch64/GlobalISel/postlegalizer-combiner-and-trivial-mask.mir
llvm/unittests/CodeGen/GlobalISel/KnownBitsTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95566.319681.patch
Type: text/x-patch
Size: 5645 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210127/c30e32ad/attachment.bin>
More information about the llvm-commits
mailing list