]> granicus.if.org Git - llvm/commit
[X86] Remove the scalar intrinsics for fadd/fsub/fdiv/fmul
authorCraig Topper <craig.topper@gmail.com>
Wed, 16 Nov 2016 05:24:10 +0000 (05:24 +0000)
committerCraig Topper <craig.topper@gmail.com>
Wed, 16 Nov 2016 05:24:10 +0000 (05:24 +0000)
commit614df99de46969d17d118f20eae412fbb566fad2
treeb1298ddf52ca50362f315863f70ee58873ba729f
parent63830bcae99c09c3d983368568adc80c9c211455
[X86] Remove the scalar intrinsics for fadd/fsub/fdiv/fmul

Summary: These intrinsics have been unused for clang for a while. This patch removes them. We auto upgrade them to extractelements, a scalar operation and then an insertelement. This matches the sequence used by clangs intrinsic file.

Reviewers: zvi, delena, RKSimon

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287083 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
include/llvm/IR/IntrinsicsX86.td
lib/IR/AutoUpgrade.cpp
lib/Target/X86/X86InstrSSE.td
lib/Transforms/InstCombine/InstCombineCalls.cpp
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
test/CodeGen/X86/avx-intrinsics-x86.ll
test/CodeGen/X86/sse-intrinsics-x86-upgrade.ll
test/CodeGen/X86/sse-intrinsics-x86.ll
test/CodeGen/X86/sse2-intrinsics-x86-upgrade.ll
test/CodeGen/X86/sse2-intrinsics-x86.ll
test/CodeGen/X86/vec_ss_load_fold.ll
test/Transforms/InstCombine/x86-sse.ll
test/Transforms/InstCombine/x86-sse2.ll