]> granicus.if.org Git - llvm/commit
[SystemZ] Support constrained fpto[su]i intrinsics
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Mon, 2 Sep 2019 16:49:29 +0000 (16:49 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Mon, 2 Sep 2019 16:49:29 +0000 (16:49 +0000)
commit3d6f38ae74c99b6e15bf956823a2af32e6f112b5
tree2646dc41a7f3e9789d927b8ff3aa9f06a2a716bf
parent16bef0f9a051afa7b57f5fd01624086c35ec1e60
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370674 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
include/llvm/Target/TargetSelectionDAG.td
lib/Target/SystemZ/SystemZISelLowering.cpp
lib/Target/SystemZ/SystemZInstrFP.td
lib/Target/SystemZ/SystemZInstrVector.td
test/CodeGen/SystemZ/fp-strict-conv-09.ll [new file with mode: 0644]
test/CodeGen/SystemZ/fp-strict-conv-10.ll [new file with mode: 0644]
test/CodeGen/SystemZ/fp-strict-conv-11.ll [new file with mode: 0644]
test/CodeGen/SystemZ/fp-strict-conv-12.ll [new file with mode: 0644]
test/CodeGen/SystemZ/fp-strict-conv-14.ll [new file with mode: 0644]
test/CodeGen/SystemZ/fp-strict-conv-16.ll [new file with mode: 0644]
test/CodeGen/SystemZ/vec-strict-conv-01.ll [new file with mode: 0644]
test/CodeGen/SystemZ/vec-strict-conv-03.ll [new file with mode: 0644]