OSDN Git Service

[X86] Adjust cost of FP_TO_UINT v4f64->v4i32 as well
authorAdam Nemet <anemet@apple.com>
Mon, 31 Mar 2014 21:54:48 +0000 (21:54 +0000)
committerAdam Nemet <anemet@apple.com>
Mon, 31 Mar 2014 21:54:48 +0000 (21:54 +0000)
commit4ffbb65494d1991993c0fb7cc4f999e96a799af8
tree2bc53a5f169ced178987d00a07f31d309eb0cbd5
parentc779918bcdcc2ce0ec309c0e66c301cecd4cdf7d
[X86] Adjust cost of FP_TO_UINT v4f64->v4i32 as well

Pretty obvious follow-on to r205159 to also handle conversion from double
besides float.

Fixes <rdar://problem/16373208>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205253 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86TargetTransformInfo.cpp
test/Transforms/LoopVectorize/X86/fp64_to_uint32-cost-model.ll [new file with mode: 0644]