OSDN Git Service

[FPEnv] Expand constrained FP operations
authorCameron McInally <cameron.mcinally@nyu.edu>
Wed, 13 Jun 2018 14:32:12 +0000 (14:32 +0000)
committerCameron McInally <cameron.mcinally@nyu.edu>
Wed, 13 Jun 2018 14:32:12 +0000 (14:32 +0000)
commitd2e44d5932d47cdc824cadb1e87b9f789aeed420
treec53f07a81cc8e8cc9fb4173754e676cd80f110f5
parent7c4ee81607aa8cbd45e63460c8c9224bdc06a897
[FPEnv] Expand constrained FP operations

Add a helper function to expand constrained FP operations as needed.
Note that the Strict POWI operation is not handled in this patch since
the format is slightly different from the others.

Differential Revision: https://reviews.llvm.org/D47491

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@334603 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
test/CodeGen/X86/vector-constrained-fp-intrinsics.ll [new file with mode: 0644]