From: Craig Topper Date: Sun, 4 Dec 2016 21:13:05 +0000 (+0000) Subject: [X86] Mark 256-bit DPPS intrinsic as commutable to increase load matching opportunities. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0cd80ce736e41e313424816f648c8e9a4a1116e3;p=llvm [X86] Mark 256-bit DPPS intrinsic as commutable to increase load matching opportunities. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288622 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/IR/IntrinsicsX86.td b/include/llvm/IR/IntrinsicsX86.td index 4312a7e35d7..565ecc62377 100644 --- a/include/llvm/IR/IntrinsicsX86.td +++ b/include/llvm/IR/IntrinsicsX86.td @@ -1421,7 +1421,7 @@ let TargetPrefix = "x86" in { // All intrinsics start with "llvm.x86.". 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