summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-05-05 22:17:00 +0000
committerChris Lattner <sabre@nondot.org>2007-05-05 22:17:00 +0000
commit0d75f57f75971036873a05c41d7339c0b7e55cee (patch)
treece2c88baddce0981c42d37b76596a1a6708073f8 /lib
parent23f7f5898ea0e618bfe3937b78bae2dd56c13b49 (diff)
downloadllvm-0d75f57f75971036873a05c41d7339c0b7e55cee.tar.gz
llvm-0d75f57f75971036873a05c41d7339c0b7e55cee.tar.bz2
llvm-0d75f57f75971036873a05c41d7339c0b7e55cee.tar.xz
implement anyextend from i1 -> i64
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36802 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/IA64/IA64InstrInfo.td2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/IA64/IA64InstrInfo.td b/lib/Target/IA64/IA64InstrInfo.td
index b31b5fea08..57f5f66851 100644
--- a/lib/Target/IA64/IA64InstrInfo.td
+++ b/lib/Target/IA64/IA64InstrInfo.td
@@ -162,6 +162,8 @@ def TPCMPIMM8NE : AForm<0x03, 0x0b,
// zero extend a bool (predicate reg) into an integer reg
def ZXTb : Pat<(zext PR:$src),
(TPCADDIMM22 (ADDS r0, 0), 1, PR:$src)>;
+def AXTb : Pat<(anyext PR:$src),
+ (TPCADDIMM22 (ADDS r0, 0), 1, PR:$src)>;
// normal sign/zero-extends
def SXT1 : AForm_DAG<0x03, 0x0b, (ops GR:$dst, GR:$src), "sxt1 $dst = $src",