[llvm] r279265 - [Hexagon] Add missing pattern for C4_cmplte
Krzysztof Parzyszek via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 19 09:11:33 PDT 2016
Author: kparzysz
Date: Fri Aug 19 11:11:33 2016
New Revision: 279265
URL: http://llvm.org/viewvc/llvm-project?rev=279265&view=rev
Log:
[Hexagon] Add missing pattern for C4_cmplte
Modified:
llvm/trunk/lib/Target/Hexagon/HexagonInstrInfoV4.td
Modified: llvm/trunk/lib/Target/Hexagon/HexagonInstrInfoV4.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/HexagonInstrInfoV4.td?rev=279265&r1=279264&r2=279265&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/HexagonInstrInfoV4.td (original)
+++ llvm/trunk/lib/Target/Hexagon/HexagonInstrInfoV4.td Fri Aug 19 11:11:33 2016
@@ -157,8 +157,10 @@ def: T_cmp32_rr_pat<A4_rcmpeq, CmpInReg
def: T_cmp32_rr_pat<A4_rcmpneq, CmpInReg<setne>, i32>;
def: T_cmp32_rr_pat<C4_cmpneq, setne, i1>;
+def: T_cmp32_rr_pat<C4_cmplte, setle, i1>;
def: T_cmp32_rr_pat<C4_cmplteu, setule, i1>;
+def: T_cmp32_rr_pat<C4_cmplte, RevCmp<setge>, i1>;
def: T_cmp32_rr_pat<C4_cmplteu, RevCmp<setuge>, i1>;
class T_CMP_rrbh<string mnemonic, bits<3> MinOp, bit IsComm>
More information about the llvm-commits
mailing list