summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Host.cpp
diff options
context:
space:
mode:
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>2019-02-26 16:47:59 +0000
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>2019-02-26 16:47:59 +0000
commitc110b5b69f19700939a56d08218dfb0abb577af9 (patch)
tree1af64f4ec0a342f39b5bf24f9fd23991b4c0e639 /llvm/lib/Support/Host.cpp
parent41aba567d991c2bd551c72c73b8f76f2de392984 (diff)
downloadbcm5719-llvm-c110b5b69f19700939a56d08218dfb0abb577af9.tar.gz
bcm5719-llvm-c110b5b69f19700939a56d08218dfb0abb577af9.zip
[SystemZ] Wait with selection of legal vector/FP constants until Select().
This patch aims to make sure that any such constant that can be generated with a vector instruction (for example VGBM) is recognized as such during legalization and kept as a target independent node through post-legalize DAGCombining. Two new functions named isVectorConstantLegal() and loadVectorConstant() replace old ways of handling vector/FP constants. A new struct named SystemZVectorConstantInfo is used to cache the results of isVectorConstantLegal() and pass them onto loadVectorConstant(). Support for fp128 constants in the presence of FeatureVectorEnhancements1 (z14) has been added. Review: Ulrich Weigand https://reviews.llvm.org/D58270 llvm-svn: 354896
Diffstat (limited to 'llvm/lib/Support/Host.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud