[PATCH] D95484: [GlobalISel] Implement computeKnownBits for G_SEXT_INREG
Jessica Paquette via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 26 14:58:11 PST 2021
paquette created this revision.
paquette added reviewers: aemerson, arsenm.
Herald added subscribers: kerbowa, hiraditya, rovka, nhaehnle, jvesely.
paquette requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.
Just use the existing `Known.sextInReg` implementation.
- Update KnownBitsTest.cpp.
- Update combine-redundant-and.mir for a more concrete example.
https://reviews.llvm.org/D95484
Files:
llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/combine-redundant-and.mir
llvm/unittests/CodeGen/GlobalISel/KnownBitsTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95484.319414.patch
Type: text/x-patch
Size: 4028 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210126/dde53d4b/attachment.bin>
More information about the llvm-commits
mailing list