diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-01-26 07:51:55 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-01-26 07:51:55 +0000 |
commit | a3937416e43b485633035e8184755d9a94efb7b3 (patch) | |
tree | 3339e27d9aad410480ad3c2265c15afa5f0ce70f /lib/Target | |
parent | 15388c4666f27585dcba124e11f34032d3e2c361 (diff) | |
download | external_llvm-a3937416e43b485633035e8184755d9a94efb7b3.zip external_llvm-a3937416e43b485633035e8184755d9a94efb7b3.tar.gz external_llvm-a3937416e43b485633035e8184755d9a94efb7b3.tar.bz2 |
Add HasXOP predicate check covering a bunch of XOP intrinsic patterns.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149054 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/X86/X86InstrXOP.td | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/X86/X86InstrXOP.td b/lib/Target/X86/X86InstrXOP.td index 0734333..20de9ee 100644 --- a/lib/Target/X86/X86InstrXOP.td +++ b/lib/Target/X86/X86InstrXOP.td @@ -286,6 +286,7 @@ defm VPERMIL2PS : xop5op<0x48, "vpermil2ps", int_x86_xop_vpermil2ps, // XOP Intrinsics patterns +let Predicates = [HasXOP] in { // VPCOM EQ def : Pat<(int_x86_xop_vpcomeqw VR128:$src1, VR128:$src2), (VPCOMWri VR128:$src1, VR128:$src2, (i8 4))>; @@ -827,4 +828,5 @@ def : Pat<(int_x86_xop_vpcmov_v8sf_256 VR256:$src1, (bitconvert (memopv2i64 addr:$src2)), VR256:$src3), (VPCMOVmrY VR256:$src1, addr:$src2, VR256:$src3)>; +} // let Predicates = [HasXOP] |