[all-commits] [llvm/llvm-project] f19971: [GlobalISel] Implement computeKnownBits for G_ASSE...
Jessica Paquette via All-commits
all-commits at lists.llvm.org
Thu Jan 28 16:35:02 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f19971d1ded2a983efd58eca0393026909368f44
https://github.com/llvm/llvm-project/commit/f19971d1ded2a983efd58eca0393026909368f44
Author: Jessica Paquette <jpaquette at apple.com>
Date: 2021-01-28 (Thu, 28 Jan 2021)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/postlegalizer-combiner-and-trivial-mask.mir
M llvm/unittests/CodeGen/GlobalISel/KnownBitsTest.cpp
Log Message:
-----------
[GlobalISel] Implement computeKnownBits for G_ASSERT_ZEXT
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.
Differential Revision: https://reviews.llvm.org/D95566
More information about the All-commits
mailing list