Just use the existing Known.sextInReg implementation.
- Update KnownBitsTest.cpp.
- Update combine-redundant-and.mir for a more concrete example.
Paths
| Differential D95484
[GlobalISel] Implement computeKnownBits for G_SEXT_INREG ClosedPublic Authored by paquette on Jan 26 2021, 2:58 PM.
Details Summary Just use the existing Known.sextInReg implementation.
Diff Detail Event TimelineHerald added subscribers: kerbowa, hiraditya, rovka and 2 others. · View Herald TranscriptJan 26 2021, 2:58 PM This revision is now accepted and ready to land.Jan 26 2021, 2:59 PM Closed by commit rGf36007e81101: [GlobalISel] Implement computeKnownBits for G_SEXT_INREG (authored by paquette). · Explain WhyJan 26 2021, 3:08 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 319414 llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/combine-redundant-and.mir
llvm/unittests/CodeGen/GlobalISel/KnownBitsTest.cpp
|