[llvm] r288622 - [X86] Mark 256-bit DPPS intrinsic as commutable to increase load matching opportunities.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 4 13:13:05 PST 2016
Author: ctopper
Date: Sun Dec 4 15:13:05 2016
New Revision: 288622
URL: http://llvm.org/viewvc/llvm-project?rev=288622&view=rev
Log:
[X86] Mark 256-bit DPPS intrinsic as commutable to increase load matching opportunities.
Modified:
llvm/trunk/include/llvm/IR/IntrinsicsX86.td
Modified: llvm/trunk/include/llvm/IR/IntrinsicsX86.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/IntrinsicsX86.td?rev=288622&r1=288621&r2=288622&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/IntrinsicsX86.td (original)
+++ llvm/trunk/include/llvm/IR/IntrinsicsX86.td Sun Dec 4 15:13:05 2016
@@ -1421,7 +1421,7 @@ let TargetPrefix = "x86" in { // All in
let TargetPrefix = "x86" in { // All intrinsics start with "llvm.x86.".
def int_x86_avx_dp_ps_256 : GCCBuiltin<"__builtin_ia32_dpps256">,
Intrinsic<[llvm_v8f32_ty], [llvm_v8f32_ty,
- llvm_v8f32_ty, llvm_i8_ty], [IntrNoMem]>;
+ llvm_v8f32_ty, llvm_i8_ty], [IntrNoMem, Commutative]>;
}
// Vector compare
More information about the llvm-commits
mailing list