I think we can save the MRI argument from these since it's in
GISelKnownBits already, but currently not accessible.
Implementation deferred to avoid dependency on other patches.
Paths
| Differential D73200
GlobalISel: Add computeKnownBitsForTargetInstr ClosedPublic Authored by arsenm on Jan 22 2020, 7:41 AM.
Details Summary I think we can save the MRI argument from these since it's in Implementation deferred to avoid dependency on other patches.
Diff Detail Event Timeline
arsenm added inline comments. Comment Actions Handle the fallback to computeKnownBits, copied directly from the DAG version. This should really get a test, but I don't think there's any operation that is implemented that should hit this path arsenm added a child revision: D76581: AMDGPU/GlobalISel: Implement computeNumSignBitsForTargetInstr.Mar 22 2020, 5:21 PM foad added inline comments.
This revision is now accepted and ready to land.Mar 23 2020, 9:45 AM
Revision Contents
Diff 239595 llvm/include/llvm/CodeGen/TargetLowering.h
llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
|
FirstAnswer is 1 so this if-statement is already inside the std::max