summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Hexagon/struct-const.ll
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2018-04-30 17:54:28 +0000
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2018-04-30 17:54:28 +0000
commitc3ec80fea186b6dd956001467a1076c6c2ee4fb6 (patch)
tree18dd0151abdf2a9dbbd50abfc01123edc3d00a69 /llvm/test/CodeGen/Hexagon/struct-const.ll
parentb32f3656d2bc376d223b5cf38c5067e3942d1471 (diff)
downloadbcm5719-llvm-c3ec80fea186b6dd956001467a1076c6c2ee4fb6.tar.gz
bcm5719-llvm-c3ec80fea186b6dd956001467a1076c6c2ee4fb6.zip
[SystemZ] Handle SADDO et.al. and ADD/SUBCARRY
This provides an optimized implementation of SADDO/SSUBO/UADDO/USUBO as well as ADDCARRY/SUBCARRY on top of the new CC implementation. In particular, multi-word arithmetic now uses UADDO/ADDCARRY instead of the old ADDC/ADDE logic, which means we no longer need to use "glue" links for those instructions. This also allows making full use of the memory-based instructions like ALSI, which couldn't be recognized due to limitations in the DAG matcher previously. Also, the llvm.sadd.with.overflow et.al. intrinsincs now expand to directly using the ADD instructions and checking for a CC 3 result. llvm-svn: 331203
Diffstat (limited to 'llvm/test/CodeGen/Hexagon/struct-const.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud