OSDN Git Service

[X86] Don't lower FABS/FNEG masking directly to a ConstantPool load. Just create...
authorCraig Topper <craig.topper@gmail.com>
Mon, 29 Aug 2016 04:49:31 +0000 (04:49 +0000)
committerCraig Topper <craig.topper@gmail.com>
Mon, 29 Aug 2016 04:49:31 +0000 (04:49 +0000)
commit51b695a52e3e96e7c3faa8398949e8b1df74989d
tree07c546486357c840ae1a703aedf5072c60d9619d
parent79711e4f4637fd130ce593134911bfa5f4933f32
[X86] Don't lower FABS/FNEG masking directly to a ConstantPool load. Just create a ConstantFPSDNode and let that be lowered.

This allows broadcast loads to used when available.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279958 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/avx-basic.ll
test/CodeGen/X86/avx512-arith.ll
test/CodeGen/X86/fma-fneg-combine.ll
test/CodeGen/X86/fma_patterns.ll
test/CodeGen/X86/fma_patterns_wide.ll
test/CodeGen/X86/pr2656.ll
test/CodeGen/X86/vec_fabs.ll