diff options
author | Craig Topper <craig.topper@intel.com> | 2018-02-20 03:58:13 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2018-02-20 03:58:13 +0000 |
commit | 1986e4864cb8a255c255cb007ad302f8459eae0d (patch) | |
tree | 9d84fdd3c0b899cf540bd1a528d1d0c354d62ead /llvm/lib/Target/X86/X86InstrInfo.h | |
parent | a0072d29a620552c790d7ceabca3de1cb1805ec9 (diff) |
[X86] Make XOP VPCOM instructions commutable to fold loads during isel.
Diffstat (limited to 'llvm/lib/Target/X86/X86InstrInfo.h')
-rw-r--r-- | llvm/lib/Target/X86/X86InstrInfo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86InstrInfo.h b/llvm/lib/Target/X86/X86InstrInfo.h index 5a2e00152e8..8bb90eb4ffe 100644 --- a/llvm/lib/Target/X86/X86InstrInfo.h +++ b/llvm/lib/Target/X86/X86InstrInfo.h @@ -87,6 +87,9 @@ CondCode GetOppositeBranchCondition(CondCode CC); /// \brief Get the VPCMP immediate if the opcodes are swapped. unsigned getSwappedVPCMPImm(unsigned Imm); +/// \brief Get the VPCOM immediate if the opcodes are swapped. +unsigned getSwappedVPCOMImm(unsigned Imm); + } // namespace X86 /// isGlobalStubReference - Return true if the specified TargetFlag operand is |