llvm-project/llvm/unittests/CodeGen/GlobalISel
Eli Friedman 2876b3eef3 [SelectionDAG] Always preserve offset in MachinePointerInfo
Previously, getWithOffset() would drop the offset if the base was null.
Because of this, MachineMemOperand would return the wrong result from
getAlign() in these cases.  MachineMemOperand stores the alignment of
the pointer without the offset.

A bunch of MIR tests changed because we print the offset now.

Split off from D77687.

Differential Revision: https://reviews.llvm.org/D78049
2020-04-14 15:29:41 -07:00
..
CMakeLists.txt [Legalizer] Refactoring out legalizeMachineFunction 2019-12-13 15:45:18 -08:00
CSETest.cpp GlobalISel: Prepare to allow other target unit tests 2020-03-23 15:02:30 -04:00
ConstantFoldingTest.cpp GlobalISel: Prepare to allow other target unit tests 2020-03-23 15:02:30 -04:00
GISelMITest.cpp AMDGPU/GlobalISel: Implement computeNumSignBitsForTargetInstr 2020-03-23 15:02:30 -04:00
GISelMITest.h AMDGPU/GlobalISel: Implement computeNumSignBitsForTargetInstr 2020-03-23 15:02:30 -04:00
KnownBitsTest.cpp AMDGPU/GlobalISel: Implement computeNumSignBitsForTargetInstr 2020-03-23 15:02:30 -04:00
LegalizerHelperTest.cpp [GlobalISel] support narrow G_IMPLICIT_DEF for DstSize % NarrowSize != 0 2020-04-08 11:00:07 +02:00
LegalizerInfoTest.cpp GlobalISel: Introduce bitcast legalize action 2020-03-24 19:33:33 -04:00
LegalizerTest.cpp [SelectionDAG] Always preserve offset in MachinePointerInfo 2020-04-14 15:29:41 -07:00
MachineIRBuilderTest.cpp [Alignment][NFC] Use Align version of getMachineMemOperand 2020-03-30 15:46:27 +00:00
PatternMatchTest.cpp GlobalISel: Add matcher for G_SHL 2020-03-29 14:03:07 -04:00