]> granicus.if.org Git - llvm/commit
[X86] Keep EXTRACT_VECTOR_ELT result type as f128 for Android x86_64.
authorChih-Hung Hsieh <chh@google.com>
Tue, 18 Apr 2017 20:15:18 +0000 (20:15 +0000)
committerChih-Hung Hsieh <chh@google.com>
Tue, 18 Apr 2017 20:15:18 +0000 (20:15 +0000)
commit21b4d8e9b9afa5787894aecde704cd3ef62b10c2
treef0bdd98a618c189a30f5a7daaa5daa12f956a40e
parent461e0b352d5e403b2d0fad59028f9e0681f13c7a
[X86] Keep EXTRACT_VECTOR_ELT result type as f128 for Android x86_64.

Android x86_64 target uses f128 type and stores f128 values in %xmm* registers.
SoftenFloatRes_EXTRACT_VECTOR_ELT should not convert result value
from f128 to i128.

Differential Revision: http://reviews.llvm.org/D32102

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300583 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
lib/CodeGen/SelectionDAG/LegalizeTypes.h
test/CodeGen/X86/extract-store.ll
test/CodeGen/X86/fp128-extract.ll [new file with mode: 0644]