From 0d75f57f75971036873a05c41d7339c0b7e55cee Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 5 May 2007 22:17:00 +0000 Subject: [PATCH] implement anyextend from i1 -> i64 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36802 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/IA64/IA64InstrInfo.td | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Target/IA64/IA64InstrInfo.td b/lib/Target/IA64/IA64InstrInfo.td index b31b5fea08d..57f5f66851c 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",