[SystemZ][FPEnv] Back-end support for STRICT_[SU]INT_TO_FP
commitd1c0f14be8a7d1337712ff1cf0bcdd33e2f78316
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Tue, 17 Dec 2019 17:20:14 +0000 (17 18:20 +0100)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Tue, 17 Dec 2019 17:24:05 +0000 (17 18:24 +0100)
treeeed4107a25f9feaa3056a25d08efcc64d0373f8f
parent520e3d66e7257c77f1226185504bbe1cb90afcfa
[SystemZ][FPEnv] Back-end support for STRICT_[SU]INT_TO_FP

As of b1d8576 there is middle-end support for STRICT_[SU]INT_TO_FP,
so this patch adds SystemZ back-end support as well.

The patch is SystemZ target specific except for adding SD patterns
strict_[su]int_to_fp and any_[su]int_to_fp to TargetSelectionDAG.td
as usual.
12 files changed:
llvm/include/llvm/Target/TargetSelectionDAG.td
llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
llvm/lib/Target/SystemZ/SystemZInstrFP.td
llvm/lib/Target/SystemZ/SystemZInstrVector.td
llvm/test/CodeGen/SystemZ/fp-strict-conv-05.ll [new file with mode: 0644]
llvm/test/CodeGen/SystemZ/fp-strict-conv-06.ll [new file with mode: 0644]
llvm/test/CodeGen/SystemZ/fp-strict-conv-07.ll [new file with mode: 0644]
llvm/test/CodeGen/SystemZ/fp-strict-conv-08.ll [new file with mode: 0644]
llvm/test/CodeGen/SystemZ/fp-strict-conv-13.ll [new file with mode: 0644]
llvm/test/CodeGen/SystemZ/fp-strict-conv-16.ll
llvm/test/CodeGen/SystemZ/vec-strict-conv-01.ll
llvm/test/CodeGen/SystemZ/vec-strict-conv-03.ll