[SystemZ] Support constrained fpto[su]i intrinsics
commitb21e24571146bb043ce5374928e81cad48392b13
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Mon, 2 Sep 2019 16:49:29 +0000 (2 16:49 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Mon, 2 Sep 2019 16:49:29 +0000 (2 16:49 +0000)
tree4b78ff80e244b7e920ab9a4e29126d90a1bfcb98
parentda4ef9b4c86d0002f57f6cb9c4bfb6c435f2bef6
[SystemZ] Support constrained fpto[su]i intrinsics

Now that constrained fpto[su]i intrinsic are available,
add codegen support to the SystemZ backend.

In addition to pure back-end changes, I've also needed
to add the strict_fp_to_[su]int and any_fp_to_[su]int
pattern fragments in the obvious way.

llvm-svn: 370674
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-09.ll [new file with mode: 0644]
llvm/test/CodeGen/SystemZ/fp-strict-conv-10.ll [new file with mode: 0644]
llvm/test/CodeGen/SystemZ/fp-strict-conv-11.ll [new file with mode: 0644]
llvm/test/CodeGen/SystemZ/fp-strict-conv-12.ll [new file with mode: 0644]
llvm/test/CodeGen/SystemZ/fp-strict-conv-14.ll [new file with mode: 0644]
llvm/test/CodeGen/SystemZ/fp-strict-conv-16.ll [new file with mode: 0644]
llvm/test/CodeGen/SystemZ/vec-strict-conv-01.ll [new file with mode: 0644]
llvm/test/CodeGen/SystemZ/vec-strict-conv-03.ll [new file with mode: 0644]