OSDN Git Service

[X86] Generalize logic blend of (x, -x) combine to match (-x, x).
authorAhmed Bougacha <ahmed.bougacha@gmail.com>
Tue, 16 Feb 2016 22:14:07 +0000 (22:14 +0000)
committerAhmed Bougacha <ahmed.bougacha@gmail.com>
Tue, 16 Feb 2016 22:14:07 +0000 (22:14 +0000)
commit3c43b12f76749497b0f10850b14a2883b57d47a0
tree075e3e5b5306203529b84dd1dcf1de1096952bf3
parenta16d991795c53d431492b3d640cf3490187500fc
[X86] Generalize logic blend of (x, -x) combine to match (-x, x).

I suspect this is what let PR26110 lie dormant for so long.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@261024 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/vector-blend.ll