llvm-project/llvm/lib/CodeGen/GlobalISel
Aditya Nandakumar b3297ef051 [GISel]: Fix incorrect IRTranslation while translating null pointer types
https://reviews.llvm.org/D44762

Currently IRTranslator produces
%vreg17<def>(p0) = G_CONSTANT 0;

instead we should build
%vreg16(s64) = G_CONSTANT 0
%vreg17(p0) = G_INTTOPTR %vreg16

reviewed by @aemerson.

llvm-svn: 328218
2018-03-22 17:31:38 +00:00
..
CMakeLists.txt [globalisel][legalizer] Adapt LegalizerInfo to support inter-type dependencies and other things. 2018-01-29 19:54:49 +00:00
CallLowering.cpp MachineFunction: Return reference from getFunction(); NFC 2017-12-15 22:22:58 +00:00
Combiner.cpp [GISel]: Implement GlobalISel combiner API. 2018-01-25 00:41:58 +00:00
CombinerHelper.cpp [GISel]: Implement GlobalISel combiner API. 2018-01-25 00:41:58 +00:00
GlobalISel.cpp [GlobalISel] Make GlobalISel a non-optional library. 2017-08-03 21:52:25 +00:00
IRTranslator.cpp [GISel]: Fix incorrect IRTranslation while translating null pointer types 2018-03-22 17:31:38 +00:00
InstructionSelect.cpp [GlobalISel][AArch64] Adding -disable-gisel-legality-check CL option 2018-03-01 00:27:48 +00:00
InstructionSelector.cpp [GISel] Make constrainSelectedInstRegOperands() available to the legalizer. NFC 2018-01-17 19:31:33 +00:00
LLVMBuild.txt Revert "Get GlobalISel to build on Linux after r286407" 2016-11-16 22:24:59 +00:00
LegalityPredicates.cpp [globalisel][legalizer] Adapt LegalizerInfo to support inter-type dependencies and other things. 2018-01-29 19:54:49 +00:00
LegalizeMutations.cpp [globalisel][legalizer] Change identity() to changeTo() to clarify that it changes things. NFC 2018-01-29 20:46:16 +00:00
Legalizer.cpp MachineFunction: Return reference from getFunction(); NFC 2017-12-15 22:22:58 +00:00
LegalizerHelper.cpp GlobalISel: Add templated functions and pattern matcher support for some more opcodes 2018-02-14 19:58:36 +00:00
LegalizerInfo.cpp [GlobalISel][AArch64] Adding -disable-gisel-legality-check CL option 2018-03-01 00:27:48 +00:00
Localizer.cpp [CodeGen] Rename functions PrintReg* to printReg* 2017-11-28 12:42:37 +00:00
MachineIRBuilder.cpp [GISel]: Add helpers for easy building G_FCONSTANT along with matchers 2018-03-09 17:31:51 +00:00
RegBankSelect.cpp [GlobalISel][AArch64] Adding -disable-gisel-legality-check CL option 2018-03-01 00:27:48 +00:00
RegisterBank.cpp Fix a bunch more layering of CodeGen headers that are in Target 2017-11-17 01:07:10 +00:00
RegisterBankInfo.cpp [GISel][NFC]: Move RegisterBankInfo::getSizeInBits into TargetRegisterInfo. 2018-02-02 19:42:07 +00:00
Utils.cpp [GISel]: Add helpers for easy building G_FCONSTANT along with matchers 2018-03-09 17:31:51 +00:00