[x86] Teach the instruction printer to decode immediate operands to
authorChandler Carruth <chandlerc@gmail.com>
Fri, 15 Aug 2014 11:01:37 +0000 (11:01 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 15 Aug 2014 11:01:37 +0000 (11:01 +0000)
commitd996c5b54bff05047ab628447446d5db470ee59c
tree61ae10554c08f6369349b3be5ae4659441794dad
parentf52efce72d9a41c4cd18fe2ccba41b7cf9ed1b00
[x86] Teach the instruction printer to decode immediate operands to
BLENDPS, BLENDPD, and PBLENDW instructions into pretty shuffle comments.

These will be used in my next commit as part of test cases for AVX
shuffles which can directly use blend in more places.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215701 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/InstPrinter/X86InstComments.cpp
lib/Target/X86/Utils/X86ShuffleDecode.cpp
lib/Target/X86/Utils/X86ShuffleDecode.h