summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/FormatToken.h
diff options
context:
space:
mode:
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>2014-06-10 14:35:01 +0000
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>2014-06-10 14:35:01 +0000
commitf910a0650eb4aad5e50e997c9438d7eef60dc901 (patch)
treef6f48dc5141a2efe725bd40f740ad9a169765875 /clang/lib/Format/FormatToken.h
parentd863ae39d1c5f28a3d5c63a251e27e07baf7337f (diff)
downloadbcm5719-llvm-f910a0650eb4aad5e50e997c9438d7eef60dc901.tar.gz
bcm5719-llvm-f910a0650eb4aad5e50e997c9438d7eef60dc901.zip
[PPC64LE] Recognize shufflevector patterns for little endian
Various masks on shufflevector instructions are recognizable as specific PowerPC instructions (vector pack, vector merge, etc.). There is existing code in PPCISelLowering.cpp to recognize the correct patterns for big endian code. The masks for these instructions are different for little endian code due to the big-endian numbering employed by these instructions. This patch adds the recognition code for little endian. I've added a new test case test/CodeGen/PowerPC/vec_shuffle_le.ll for this. The existing recognizer test (vec_shuffle.ll) is unnecessarily verbose and difficult to read, so I felt it was better to add a new test rather than modify the old one. llvm-svn: 210536
Diffstat (limited to 'clang/lib/Format/FormatToken.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud