[PATCH] D96897: [GlobalISel] Implement computeNumSignBits for G_ASSERT_SEXT

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 17 13:23:31 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.

Same implementation as G_SEXT_INREG.

      

Add a testcase to combine-sext-inreg for a concrete example, and a testcase to KnownBitsTest.


https://reviews.llvm.org/D96897

Files:
  llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/combine-sext-inreg.mir
  llvm/unittests/CodeGen/GlobalISel/KnownBitsTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96897.324413.patch
Type: text/x-patch
Size: 4828 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210217/8beb9210/attachment.bin>


More information about the llvm-commits mailing list