llvm-project/llvm/unittests/CodeGen/GlobalISel
Dominik Montada 6b96623dcb [GlobalISel] fix crash in narrowScalarExtract if DstRegs only has one register
Summary: When narrowing a scalar G_EXTRACT where the destination lines up perfectly with a single result of the emitted G_UNMERGE_VALUES a COPY should be emitted instead of unconditionally trying to emit a G_MERGE_VALUES.

Reviewers: arsenm, dsanders

Reviewed By: arsenm

Subscribers: wdng, rovka, hiraditya, volkan, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D75743
2020-03-12 09:14:35 +01:00
..
CMakeLists.txt [Legalizer] Refactoring out legalizeMachineFunction 2019-12-13 15:45:18 -08:00
CSETest.cpp GlobalISel: Allow CSE of G_IMPLICIT_DEF 2020-02-05 17:47:21 -05:00
ConstantFoldingTest.cpp [CodeGen] Make use of MachineInstrBuilder::getReg 2020-01-23 13:38:13 +00:00
GISelMITest.cpp GlobalISel: Improve gtest usage 2019-02-04 18:58:27 +00:00
GISelMITest.h [GlobalISel] Legalize more G_FP(EXT|TRUNC) libcalls. 2020-02-06 11:41:34 -08:00
KnownBitsTest.cpp [GISel][KnownBits] Update a comment regarding the effect of cache on PHIs 2020-02-25 15:56:15 -08:00
LegalizerHelperTest.cpp [GlobalISel] fix crash in narrowScalarExtract if DstRegs only has one register 2020-03-12 09:14:35 +01:00
LegalizerInfoTest.cpp GlobalISel: Add alignment to LegalityQuery MMOs 2019-02-14 22:41:09 +00:00
LegalizerTest.cpp Fix Wpedantic 'extra semicolon' warning. NFC. 2019-12-21 17:32:00 +00:00
MachineIRBuilderTest.cpp GlobalISel: Add missing add/sub with carries to MachineIRBuilder 2020-03-10 22:39:55 -04:00
PatternMatchTest.cpp GlobalISel: Add matcher for G_LSHR 2020-02-17 09:20:13 -05:00