Currently IRTranslator produces
%vreg17<def>(p0) = G_CONSTANT 0;
instead we should build
%vreg16(s64) = G_CONSTANT 0
%vreg17(p0) = G_INTTOPTR %vreg16
Paths
| Differential D44762
[GISel]: Fix incorrect IRTranslation while translating null pointer types ClosedPublic Authored by aditya_nandakumar on Mar 21 2018, 4:40 PM.
Details
Diff Detail
Revision Contents
Diff 139392 lib/CodeGen/GlobalISel/IRTranslator.cpp
test/CodeGen/AArch64/GlobalISel/arm64-fallback.ll
test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
test/CodeGen/AArch64/GlobalISel/call-translator.ll
test/CodeGen/AArch64/GlobalISel/irtranslator-exceptions.ll
test/CodeGen/AArch64/GlobalISel/translate-gep.ll
|