GlobalISel: first translation support for Constants.
authorTim Northover <tnorthover@apple.com>
Tue, 9 Aug 2016 21:28:04 +0000 (21:28 +0000)
committerTim Northover <tnorthover@apple.com>
Tue, 9 Aug 2016 21:28:04 +0000 (21:28 +0000)
commit5ed648e50987853e1590d42dc56a268fad58df19
tree3607f84ac4bf48df8d1bdcc7c08ef017341fa98d
parent0a328c5f30b8c4ada2019e7583b2af5869256588
GlobalISel: first translation support for Constants.

For now put them all in the entry block. This should be correct but may give
poor runtime performance. Hopefully MachineSinking combined with
isReMaterializable can solve those issues, but if not the interface is sound
enough to support alternatives.

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