[FPEnv] Expand constrained FP POWI
authorCameron McInally <cameron.mcinally@nyu.edu>
Fri, 15 Jun 2018 20:57:55 +0000 (20:57 +0000)
committerCameron McInally <cameron.mcinally@nyu.edu>
Fri, 15 Jun 2018 20:57:55 +0000 (20:57 +0000)
commit7caac670b223c35f21dc54937716362a84267248
tree754187f3f391f2d808db81c7662b389a2fd43dcf
parent02d1c6c0cf20b7c6e4df3c4bba14a55d6195efbd
[FPEnv] Expand constrained FP POWI

Modify ExpandStrictFPOp(...) to handle nodes that have scalar
operands.

Also, add a Strict FMA test and do some other light cleanup in the
Strict FP code.

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

llvm-svn: 334863
llvm/include/llvm/CodeGen/TargetLowering.h
llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
llvm/test/CodeGen/X86/fp-intrinsics.ll
llvm/test/CodeGen/X86/vector-constrained-fp-intrinsics.ll