projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
015408c
)
[Hexagon] Ading i64 <- i32, i32 sextw pattern.
author
Colin LeMahieu
<colinl@codeaurora.org>
Thu, 11 Dec 2014 17:08:21 +0000
(17:08 +0000)
committer
Colin LeMahieu
<colinl@codeaurora.org>
Thu, 11 Dec 2014 17:08:21 +0000
(17:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224027
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/Hexagon/HexagonInstrInfo.td
patch
|
blob
|
history
diff --git
a/lib/Target/Hexagon/HexagonInstrInfo.td
b/lib/Target/Hexagon/HexagonInstrInfo.td
index c936390d1586c67fa957e4bf7ae3f86e28543b25..66b3412b9346bec495b378094efb4f1f67f14055 100644
(file)
--- a/
lib/Target/Hexagon/HexagonInstrInfo.td
+++ b/
lib/Target/Hexagon/HexagonInstrInfo.td
@@
-2226,6
+2226,8
@@
class T_S2op_1_di <string mnemonic, bits<2> MajOp, bits<3> MinOp>
let isCodeGenOnly = 0 in
def A2_sxtw : T_S2op_1_di <"sxtw", 0b01, 0b000>;
+def: Pat <(i64 (sext I32:$src)), (A2_sxtw I32:$src)>;
+
//===----------------------------------------------------------------------===//
// STYPE/ALU -
//===----------------------------------------------------------------------===//