OSDN Git Service

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)
commitd4a60d05aaa8d3a8de78fcd4ea6adfabbf6dc379
tree737ff9dfadaf960bd4017370dca95cb5ea9e5824
parentf11cae6f497fdcb8942feff7cecf5592037f178c
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278423 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/GlobalISel/IRTranslator.cpp
test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll