GlobalISel: support 'null' constant in translation.
authorTim Northover <tnorthover@apple.com>
Thu, 11 Aug 2016 21:40:55 +0000 (21:40 +0000)
committerTim Northover <tnorthover@apple.com>
Thu, 11 Aug 2016 21:40:55 +0000 (21:40 +0000)
commit8e0c53a018feae745c24f7898367088903f8dd3d
treedbb89ba46373382624a9309dfa5e3f1f2b33eb3b
parentdbcfea98115be723320f405b6e021a555e709b9b
GlobalISel: support 'null' constant in translation.

It's sharing the integer G_CONSTANT for now since I don't *think* it creates
any ambiguity (even on weird archs). If that turns out wrong we can create a
G_PTRCONSTANT or something.

llvm-svn: 278423
llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll