OSDN Git Service

[X86] Remove SSE/AVX patterns for AND/XOR/OR/ANDN that checked for the inputs being...
authorCraig Topper <craig.topper@intel.com>
Thu, 17 Aug 2017 23:20:57 +0000 (23:20 +0000)
committerCraig Topper <craig.topper@intel.com>
Thu, 17 Aug 2017 23:20:57 +0000 (23:20 +0000)
commit1c920918395e182352269578542f3c295baf81f9
treee52eb99905171603a8b30963adc61211a8c99f40
parente8fd20964798ca6d46d2729dd3a789707a6416da
[X86] Remove SSE/AVX patterns for AND/XOR/OR/ANDN that checked for the inputs being bitcasted from floating point types.

There's really no reason to do this we should just let isel pick the integer version and let the execution dependency fixing pass take care of moving to FP if necessary.

It's not very reliable to look for bitcasts at the edges of patterns. If for some reason one input was bitcasted and the other wasn't, or if one was a v4f32 bitcast and one was a v2f64 bitcast, we would have fallen back to the integer pattern anyway.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311138 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrSSE.td
test/CodeGen/X86/cast-vsel.ll