We were using getIndexSize instead of getIndexSizeInBits().
Added test case for G_PTRTOINT and G_INTTOPTR.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D66039
[GlobalISel]: Fix a bug in KnownBits where we should have been using SizeInBits ClosedPublic Authored by aditya_nandakumar on Aug 9 2019, 4:25 PM.
Details
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 12 2019, 1:53 PM
Revision Contents
Diff 214478 llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
llvm/unittests/CodeGen/GlobalISel/KnownBitsTest.cpp
|