[PATCH] [PPC64LE] Remove unnecessary swaps from lane-insensitive vector computations
Bill Schmidt
wschmidt at linux.vnet.ibm.com
Mon Mar 30 12:13:23 PDT 2015
Here's an updated patch that adds support for -mattr={+,-}optimize-swaps. I'll post a companion patch shortly for Clang, adding -m[no-]optimize-swaps in the front end to generate this attribute.
The test case now includes a -mno-optimize-swaps variant.
REPOSITORY
rL LLVM
http://reviews.llvm.org/D8565
Files:
lib/Target/PowerPC/CMakeLists.txt
lib/Target/PowerPC/PPC.h
lib/Target/PowerPC/PPC.td
lib/Target/PowerPC/PPCSubtarget.cpp
lib/Target/PowerPC/PPCSubtarget.h
lib/Target/PowerPC/PPCTargetMachine.cpp
lib/Target/PowerPC/PPCVSXSwapRemoval.cpp
test/CodeGen/PowerPC/swaps-le-1.ll
test/CodeGen/PowerPC/vsx-ldst-builtin-le.ll
test/CodeGen/PowerPC/vsx-ldst.ll
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8565.22895.patch
Type: text/x-patch
Size: 37377 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150330/55c134e9/attachment.bin>
More information about the llvm-commits
mailing list