[PATCH] [PPC64] Add 64-bit Vector Integer Arithmetic Instructions
Kit Barton
kbarton at ca.ibm.com
Tue Mar 3 11:58:41 PST 2015
Committed revision 231115.
================
Comment at: lib/Target/PowerPC/PPCISelLowering.cpp:578
@@ -577,3 +577,3 @@
// VSX v2i64 only supports non-arithmetic operations.
- setOperationAction(ISD::ADD, MVT::v2i64, Expand);
- setOperationAction(ISD::SUB, MVT::v2i64, Expand);
+ if (! Subtarget.hasP8Altivec()) {
+ setOperationAction(ISD::ADD, MVT::v2i64, Expand);
----------------
echristo wrote:
> Whitespace.
Is this in reference to the space between ! and Subtarget?
I fixed this just now, so it will be in the next diff or the patch that I checkin if no other diffs are required.
http://reviews.llvm.org/D7959
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list